[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180720141422.34e83e3f@xeon-e3>
Date: Fri, 20 Jul 2018 14:14:22 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
anuradhak@...ulusnetworks.com, bridge@...ts.linux-foundation.org,
wkok@...ulusnetworks.com, davem@...emloft.net
Subject: Re: [PATCH net-next 1/2] net: bridge: add support for raw sysfs
port options
On Fri, 20 Jul 2018 20:47:26 +0300
Nikolay Aleksandrov <nikolay@...ulusnetworks.com> wrote:
> On July 20, 2018 8:26:36 PM GMT+03:00, Nikolay Aleksandrov <nikolay@...ulusnetworks.com> wrote:
> >On July 20, 2018 8:20:44 PM GMT+03:00, Stephen Hemminger
> ><stephen@...workplumber.org> wrote:
> >>On Fri, 20 Jul 2018 20:14:43 +0300
> >>Nikolay Aleksandrov <nikolay@...ulusnetworks.com> 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.
>
> Acrually I can't change sysfs_ops store prototype.
> That is the reason the bond also casts the ptr.
>
>
>
Ok.
Powered by blists - more mailing lists