]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dmabounce: check pointer against NULL not 0
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 22:54:34 +0000 (23:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 22:54:34 +0000 (23:54 +0100)
commitdfa322fceb15227c07670c415e835d2dfa8a4307
tree2c5c9a8589ddc165ed1af59796fabd27b9ef7e79
parente2f521e247576c897e1bf0ada801e87c7e2db89f
ARM: dmabounce: check pointer against NULL not 0

Pointers should be checked against NULL rather than 0, otherwise we
get sparse warnings.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c