[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090727.113621.207329776.davem@davemloft.net>
Date: Mon, 27 Jul 2009 11:36:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: paul.moore@...com
Cc: julia@...u.dk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 11/12] net/netlabel: Correct redundant test
From: Paul Moore <paul.moore@...com>
Date: Mon, 27 Jul 2009 13:37:29 -0400
> On Monday 27 July 2009 12:15:43 pm Julia Lawall wrote:
>> From: Julia Lawall <julia@...u.dk>
>>
>> entry was tested for NULL near the beginning of the function, followed by a
>> return, and there is no intervening modification of its value.
>>
>> A simplified version of the semantic match that finds this problem is as
>> follows: (http://www.emn.fr/x-info/coccinelle/)
...
>> Signed-off-by: Julia Lawall <julia@...u.dk>
>
> Good catch, thanks.
>
> Acked-by: Paul Moore <paul.moore@...com>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists