diff options
| author | Jiri Slaby <[email protected]> | 2008-02-15 21:58:52 +0100 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2008-02-20 20:11:48 -0500 |
| commit | b988763857426020e50a19434c8434a1e08e70eb (patch) | |
| tree | 102f17ff0319d9115eafd91286a727659335bebe /tools/perf/scripts/python | |
| parent | 65872e6b434ca463123f7d03b530f143aabc6333 (diff) | |
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 <[email protected]>
Cc: Nick Kossifidis <[email protected]>
Cc: Luis R. Rodriguez <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions