diff options
author | Arend van Spriel <[email protected]> | 2012-10-10 11:13:11 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-10-19 16:20:03 -0400 |
commit | c5b057b55fb9822544995f9268de871ebac81f12 (patch) | |
tree | b9b9162e1ba92fae38287e9fe7d68579c6823cde /lib/cpu-notifier-error-inject.c | |
parent | 3cb91f5335cfad6d85b723a8c8cce973566221b8 (diff) |
brcmfmac: remove 'always false' condition from brcmf_c_mkiovar_bsscfg
The parameter buflen is unsigned so the condition buflen < 0 is
always false. The patch fixes the if statement checking the buffer
length.
Reported-by: Dan Carpenter <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Franky Lin <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions