[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100930023150.GC4035@kroah.com>
Date: Wed, 29 Sep 2010 19:31:50 -0700
From: Greg KH <greg@...ah.com>
To: Roel Kluin <roel.kluin@...il.com>
Cc: David Brownell <dbrownell@...rs.sourceforge.net>,
linux-usb@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] USB: Don't dereference snd->filp
On Thu, Sep 30, 2010 at 01:22:36AM +0200, Roel Kluin wrote:
> Don't dereference snd->filp.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
> ---
> drivers/usb/gadget/u_audio.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> Or should it return the error pointer?
Probably, what happens if you do?
thanks,
greg k-h
--
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