Re: [PATCH net-next 1/2] net: bridge: add support for raw sysfs port options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On July 20, 2018 8:20:44 PM GMT+03:00, Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> wrote:
>On Fri, 20 Jul 2018 20:14:43 +0300
>Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> >Casting away the const on the buf variable is going to cause
>warnings
>> >and should not be necessary.
>> >  
>> 
>> It doesn't when it's casted like that, the new line is changed to
>null byte so we need to drop 
>> the const.
>
>Then change store function to take a char *?

Sure, will do.





[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux