[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200801292037.36647.oliver@neukum.org>
Date: Tue, 29 Jan 2008 20:37:36 +0100
From: Oliver Neukum <oliver@...kum.org>
To: Tobias Lorenz <tobias.lorenz@....net>
Cc: Mauro Carvalho Chehab <mchehab@...radead.org>,
Adrian Bunk <bunk@...nel.org>, video4linux-list@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] radio-si470x.c: check-after-use
Am Montag 28 Januar 2008 schrieb Tobias Lorenz:
> > Either "radio" can be NULL and this case has to be properly handled or
> > the NULL check is not required.
>
> These two lines should indeed better be inside the if statement. The patch for this is below.
No, in disconnect intfdata must be valid. Any check for NULL is wrong
there.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists