diff options
| author | H Hartley Sweeten <[email protected]> | 2013-12-09 11:32:58 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-10 23:16:24 -0800 |
| commit | 530376bfb7c82f50f20f9d28acd017194894eb66 (patch) | |
| tree | 8fb20637680c13ed52e0955b5de5e04435d7d3f9 /tools/perf/scripts/python/netdev-times.py | |
| parent | b774930e0862fae23b0fe3e13cba01ad8954d270 (diff) | |
staging: comedi: ni_at_a2150: fix an always true condition test
As pointed out by the kbuild test robot, and Ian Abbott, the dma >= 0 test
is always true because dma is unsigned. This generates a warn message:
drivers/staging/comedi/drivers/ni_at_a2150.c:715 a2150_attach()
warn: always true condition '(dma >= 0) => (0-u32max >= 0)'
Fix the test as suggested by Ian Abbott.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions