Re: [PATCH] add __force tag to fb_readb, etc.

Al Viro
2006-02-17T16:12:50Z

On Sat, Feb 18, 2006 at 12:04:08AM +0900, Atsushi Nemoto wrote:
> This patch fixes many sparse warnings on MIPS (and some other) platform.

ITYM "hides". You've just lost anything resembling typechecking of
arguments; it might be wrong in the current form, but at least we
get a reminder of possible problems.

With __force you've lost _all_ warnings - anything goes. NAK. At the
very least, figure out what type should the argument be and add a
(non-force) cast to that before forcing it.