]> err.no Git - linux-2.6/commit
[PATCH] dma-mapping.h stubs fix
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 30 Jan 2007 13:24:00 +0000 (13:24 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 16:39:21 +0000 (08:39 -0800)
commit6a13f66043cd755fc7e19f8e0fbb5bfcdf470e74
tree301db0c7aa84e1649935fe3c842c75c9a40a67cf
parentd0a23398eeaa374eb0c0435c5a259ffde77c8af0
[PATCH] dma-mapping.h stubs fix

do { } while(0) is not a good imitation of function returning void;
use ((void)0) instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-alpha/dma-mapping.h
include/asm-powerpc/dma-mapping.h