diff options
author | Tim Gardner <[email protected]> | 2013-02-07 12:35:35 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-02-08 14:51:35 -0500 |
commit | 708eb54f20334470ad92042547db0fef0cd60462 (patch) | |
tree | d2a5e1b7dce0ab08bcbc14e53152a277979de5f5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | c5e534e569fd07991d4d09921c73823cd5e4115e (diff) |
brcmsmac: fix u16 overflow warning
DOT11_MIN_BEACON_PERIOD and DOT11_MAX_BEACON_PERIOD are
superfluous. The only invalid beacon period is 0. Comparing
a 16 bit quantity to 0xffff also causes a compile warning:
drivers/net/wireless/brcm80211/brcmsmac/main.c:5560 brcms_c_set_beacon_period()
warn: impossible condition '(period > 65535) => (0-65535 > 65535)'
Observed from smatch analysis.
Cc: Brett Rudley <[email protected]>
Cc: Arend van Spriel <[email protected]>
Cc: "Franky (Zhenhui) Lin" <[email protected]>
Cc: Hante Meuleman <[email protected]>
Cc: "John W. Linville" <[email protected]>
Cc: Pieter-Paul Giesberts <[email protected]>
Cc: Seth Forshee <[email protected]>
Cc: Hauke Mehrtens <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Tim Gardner <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions