lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix flags length in net 9p
On Thu, May 01, 2008 at 05:08:05PM -0400, Steven Rostedt 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.
>
> 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).

We had checks like that in mainline aswell that caught a lot of errors
like this one. Probably got lost in one of the gazillions of spinlock
rewrites..



\
 
 \ /
  Last update: 2008-05-02 00:07    [W:2.295 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site