diff options
| author | Stefan Schmidt <[email protected]> | 2017-09-22 08:44:57 +0000 |
|---|---|---|
| committer | Stefan Schmidt <[email protected]> | 2017-09-26 13:22:44 +0000 |
| commit | 763556980dde78166886734ae470664c67067dd4 (patch) | |
| tree | f60fdad0a202c04f240c43ecf09355519e8d4878 /net/unix/af_unix.c | |
| parent | neigh: make strucrt neigh_table::entry_size unsigned int (diff) | |
| download | kernel-763556980dde78166886734ae470664c67067dd4.tar.gz kernel-763556980dde78166886734ae470664c67067dd4.zip | |
ieee802154: atusb: fix firmware version check to enable frame retries
Geert reported: as fw_ver_maj is unsigned char, gcc 4.1.2 complains:
warning: comparison is always true due to limited range of data type
Besides the warning the old check would also fail for firmware versions
like 1.x with x < 3. These would support frame retries, but the driver
would not enable the feature.
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
