diff options
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r-- | drivers/net/bnx2x_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 67de94f1f30e..fefa6ab13064 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -3359,7 +3359,7 @@ static u8 bnx2x_format_ver(u32 num, u8 *str, u16 len) | |||
3359 | u8 shift = 8*4; | 3359 | u8 shift = 8*4; |
3360 | u8 digit; | 3360 | u8 digit; |
3361 | if (len < 10) { | 3361 | if (len < 10) { |
3362 | /* Need more then 10chars for this format */ | 3362 | /* Need more than 10chars for this format */ |
3363 | *str_ptr = '\0'; | 3363 | *str_ptr = '\0'; |
3364 | return -EINVAL; | 3364 | return -EINVAL; |
3365 | } | 3365 | } |