netdev
[Top] [All Lists]

Re: [PATCH] remove net driver ugliness that sparse complains about

To: viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH] remove net driver ugliness that sparse complains about
From: Linus Torvalds <torvalds@xxxxxxxx>
Date: Sat, 29 May 2004 20:25:21 -0700 (PDT)
Cc: Jeff Garzik <jgarzik@xxxxxxxxx>, Netdev <netdev@xxxxxxxxxxx>, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, Arjan van de Ven <arjanv@xxxxxxxxxx>
In-reply-to: <20040529204230.GG12308@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <40B8D2F8.6090905@xxxxxxxxx> <Pine.LNX.4.58.0405291117511.1648@xxxxxxxxxxxxxxx> <20040529204230.GG12308@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx

On Sat, 29 May 2004 viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> 
> Right now there is only one serious false positive I know about.
>       put_user(0, dirent->d_name) and its equivanlents in some places.  
> That's __typeof__() handling bug.

It should be fixed now. It wasn't typeof, it was a general array derefence
type issue ("*array" needs to pick up the attributes of the array and
apply them to the sub-node).

Lots fewer sparse complaints now. Both sparse fixes and the kernel stuff 
pushed out.

                Linus

<Prev in Thread] Current Thread [Next in Thread>