Re: [PATCH net-next 5/8] net: core: dev: Add extack argument to __dev_change_flags()

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

 



On 12/5/18 3:51 AM, Petr Machata wrote:
> In order to pass extack together with NETDEV_PRE_UP notifications, it's
> necessary to route the extack to __dev_open() from diverse (possibly
> indirect) callers. The last missing API is __dev_change_flags().
> 
> Therefore extend __dev_change_flags() with and extra extack argument and
> update the two existing users.
> 
> Since the function declaration line is changed anyway, name the struct
> net_device argument to placate checkpatch.
> 
> Signed-off-by: Petr Machata <petrm@xxxxxxxxxxxx>
> Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>
> Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxxxx>
> ---
>  include/linux/netdevice.h | 3 ++-
>  net/core/dev.c            | 5 +++--
>  net/core/rtnetlink.c      | 3 ++-
>  3 files changed, 7 insertions(+), 4 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@xxxxxxxxx>
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux