Messages in this thread | | | Date | Thu, 1 May 2008 15:15:00 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] fix flags length in net 9p |
| |
On Thu, 1 May 2008 17:50:38 -0400 (EDT) Steven Rostedt <rostedt@goodmis.org> wrote:
> > > > > + typecheck(unsigned long, flags);
ooh, I'd forgotten about typecheck.
Just use typecheck. The BUILD_BUG_ON is overkill.
> We can simply have all users of flags use the new irqflags_t type, and > just do a one time big patch (grant you, that would break all pending > patches before that). But we can also write up a script that can convert > patches as well.
y:/usr/src/linux-2.6.25> grep -rl 'unsigned long flags' . | wc -l 2311
eargh. I agree with me.
| |