[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160504055609.GA30446@kroah.com>
Date: Tue, 3 May 2016 22:56:09 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Daeseok Youn <daeseok.youn@...il.com>
Cc: lidza.louina@...il.com, markh@...pro.net,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
dan.carpenter@...cle.com
Subject: Re: [PATCH] staging: dgnc: Fix a NULL pointer dereference
On Wed, May 04, 2016 at 02:41:22PM +0900, Daeseok Youn wrote:
> The error handling for print_drive after calling tty_alloc_driver()
> was needed. But there was error handling but too late for this.
> Error handling code moved after tty_alloc_driver() call.
>
> Fixes: 60b3109e5e2d ("staging: dgnc: use tty_alloc_driver instead of kcalloc")
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Daeseok Youn <daeseok.youn@...il.com>
> ---
> drivers/staging/dgnc/dgnc_tty.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Patch doesn't apply at all, does it need something else to be merged
first?
confused,
greg k-h
Powered by blists - more mailing lists