Fix sparse warning in kmem_shake_allow
We can't return a masked result of a __bitwise type. Compare it to
0 first to keep the behaviour without the warning.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Thu Aug 2 17:45:47 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: hch@xxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29309a
fs/xfs/linux-2.6/kmem.h - 1.43 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/kmem.h.diff?r1=text&tr1=1.43&r2=text&tr2=1.42&f=h
- Sparse warns if we return a masked result of a __bitwise type.
|