Re: [2.6 patch] w1_remove_master_device(): fix check-after-use

2007-08-14 Thread Evgeniy Polyakov
Hi Adrian. On Tue, Aug 14, 2007 at 11:22:48PM +0200, Adrian Bunk ([EMAIL PROTECTED]) wrote: > The Coverity checker spotted that we'd have already oops'ed if "dev" > was NULL. This is wrong. Although dev can not be null there there is no way it will crash. The right paranoidal solution is to setup

[2.6 patch] w1_remove_master_device(): fix check-after-use

2007-08-14 Thread Adrian Bunk
The Coverity checker spotted that we'd have already oops'ed if "dev" was NULL. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm2/drivers/w1/w1_int.c.old2007-08-08 14:38:50.0 +0200 +++ linux-2.6.23-rc1-mm2/drivers/w1/w1_int.c2007-08-08 14:38:58.00