[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHb8M2BPEwJ-=WhdR2WpNOrVMKtyd5Zr9YDoP_kaD6XcCbAJsQ@mail.gmail.com>
Date: Sun, 18 May 2014 00:22:09 +0900
From: DaeSeok Youn <daeseok.youn@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: lidza.louina@...il.com, devel@...verdev.osuosl.org,
driverdev-devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()
2014-05-17 8:09 GMT+09:00, Greg KH <gregkh@...uxfoundation.org>:
> On Fri, Apr 25, 2014 at 04:04:59PM +0900, Daeseok Youn wrote:
>> - alloc_tty_driver() is deprecated so it is changed to
>> tty_alloc_driver()
>> - Pointers which are allocated by alloc_tty_driver() and kzalloc()
>> can be NULL so it need to check NULL for them.
>> - If one of those is failed, it need to add proper handler for
>> avoiding memory leak.
>>
>> Signed-off-by: Daeseok Youn <daeseok.youn@...il.com>
>> ---
>> drivers/staging/dgap/dgap.c | 49
>> +++++++++++++++++++++++++++++++++++--------
>> 1 files changed, 40 insertions(+), 9 deletions(-)
>
> This doesn't apply at all to my tree anymore, please refresh it and
> resend.
>
Yes. It need to rebase on staging-next branch. I will rebase and resend this.
Thanks
Daeseok Youn.
> 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