From: H Hartley Sweeten Date: Mon, 9 Dec 2013 18:32:58 +0000 (-0700) Subject: staging: comedi: ni_at_a2150: fix an always true condition test X-Git-Tag: v3.14-rc1~150^2~477 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=530376bfb7c82f50f20f9d28acd017194894eb66;p=pandora-kernel.git 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 Reported-by: kbuild test robot Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed