lkml.org 
[lkml]   [2014]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 5/9] staging: dgap: introduce dgap_tty_unregister()
From
2014-06-13 17:38 GMT+09:00 Dan Carpenter <dan.carpenter@oracle.com>:
> On Fri, Jun 13, 2014 at 05:16:27PM +0900, DaeSeok Youn wrote:
>> Hi, Dan
>>
>>
>>
>> 2014-06-13 17:00 GMT+09:00 Dan Carpenter <dan.carpenter@oracle.com>:
>> > On Fri, Jun 13, 2014 at 04:41:47PM +0900, Daeseok Youn wrote:
>> >> dgap_tty_unregister() will unregister serial_driver
>> >> and print_driver, and also free related variables.
>> >>
>> >
>> > Introducing a static function without a caller will cause a GCC warning
>> > about unused functions.
>> >
>> > Fold 5,7 and 8 together into one patch. This is still "one thing per
>> > patch" because they can't be done separately.
>> OK. I will do. And then this series of patches will resend, right?
>
> I'm afraid so. New GCC warnings are against the rules even if you fix
> it in a later patch.
>
> Since you're redoing it, can I suggest that patch 8 should just move
> the code to dgap_init_one() and change the dgap_firmware_load()
> prototype and then another patch should add the error handling.
Ok. I will do as your comment.

Thanks.

regards,
Daeseok Youn
>
> regards,
> dan carpenter


\
 
 \ /
  Last update: 2014-06-13 11:21    [W:0.050 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site