diff options
author | Jiri Slaby | 2008-02-15 21:58:52 +0100 |
---|---|---|
committer | John W. Linville | 2008-02-21 02:11:48 +0100 |
commit | b988763857426020e50a19434c8434a1e08e70eb (patch) | |
tree | 102f17ff0319d9115eafd91286a727659335bebe /include/linux | |
parent | WDEV: ath5k, fix lock imbalance (diff) | |
download | kernel-qcow2-linux-b988763857426020e50a19434c8434a1e08e70eb.tar.gz kernel-qcow2-linux-b988763857426020e50a19434c8434a1e08e70eb.tar.xz kernel-qcow2-linux-b988763857426020e50a19434c8434a1e08e70eb.zip |
WDEV, ath5k, don't return int from bool function
sparse sees int -> bool cast as an error:
hw.c:3754:10: warning: cast truncates bits from constant value (ffffffea becomes 0)
Fix it by converting the rettype to int and check appropriately.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions