[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110811165134.GA24861@core.coreip.homeip.net>
Date: Thu, 11 Aug 2011 09:51:34 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Stephen Warren <swarren@...dia.com>
Cc: Axel Lin <axel.lin@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Rakesh Iyer <riyer@...dia.com>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>
Subject: Re: [PATCH RESEND] Input: tegra-kbc - correct call to
input_free_device
On Thu, Aug 11, 2011 at 09:42:54AM -0700, Stephen Warren wrote:
> Axel Lin wrote at Thursday, August 11, 2011 2:49 AM:
> > If kzalloc for kbc fails, then we have NULL pointer dereference while
> > calling input_free_device(kbc->idev) in the error handling.
> > So it is safer to always use the original name, input_dev.
> >
> > Signed-off-by: Axel Lin <axel.lin@...il.com>
>
> Reviewed-by: Stephen Warren <swarren@...dia.com>
Gah, sorry, already pushed into my public branch so won't be able so
add your reviewed-by...
--
Dmitry
--
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