Re: [PATCH] fix flags length in net 9p

From: Andrew Morton
Date: Thu May 01 2008 - 17:20:11 EST


On Thu, 1 May 2008 17:08:05 -0400 (EDT)
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Some files in the net/9p directory uses "int" for flags. This can
> cause hard to find bugs on some architectures. This patch converts the
> flags to use "long" instead.

gargh.

> This bug was discovered by doing an allyesconfig make on the -rt kernel
> where checks are done to ensure all flags are of size sizeof(long).

I was about to suggest that we do something like that...

I wonder how messy it is. I long ago lost the ability to follow the
convolutions in include/linux/spinlock*.h :( gotta patch?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/