Message ID | 7275c711-b313-b78c-bea5-e836f323b0ef@infradead.org |
---|---|
State | New |
Headers | show |
Series | [net] netdevice.h: fix proto_down_reason kernel-doc warning | expand |
On 9/6/20 8:31 PM, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > Fix kernel-doc warning in <linux/netdevice.h>: > > ../include/linux/netdevice.h:2158: warning: Function parameter or member 'proto_down_reason' not described in 'net_device' > > Fixes: 829eb208e80d ("rtnetlink: add support for protodown reason") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Roopa Prabhu <roopa@cumulusnetworks.com> > --- Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Thanks Randy
On Sun, 6 Sep 2020 20:31:16 -0700 Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > Fix kernel-doc warning in <linux/netdevice.h>: > > ../include/linux/netdevice.h:2158: warning: Function parameter or member 'proto_down_reason' not described in 'net_device' > > Fixes: 829eb208e80d ("rtnetlink: add support for protodown reason") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Roopa Prabhu <roopa@cumulusnetworks.com> Applied, but I had to fix a checkpatch warning about a space before a tab..
On 9/7/20 12:49 PM, Jakub Kicinski wrote: > On Sun, 6 Sep 2020 20:31:16 -0700 Randy Dunlap wrote: >> From: Randy Dunlap <rdunlap@infradead.org> >> >> Fix kernel-doc warning in <linux/netdevice.h>: >> >> ../include/linux/netdevice.h:2158: warning: Function parameter or member 'proto_down_reason' not described in 'net_device' >> >> Fixes: 829eb208e80d ("rtnetlink: add support for protodown reason") >> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> >> Cc: Roopa Prabhu <roopa@cumulusnetworks.com> > > Applied, but I had to fix a checkpatch warning about a space before a > tab.. Ohhh, thanks. I blame that on (g)vim providing some automatic indentation that I didn't want.
--- lnx-59-rc4.orig/include/linux/netdevice.h +++ lnx-59-rc4/include/linux/netdevice.h @@ -1784,6 +1784,7 @@ enum netdev_priv_flags { * the watchdog (see dev_watchdog()) * @watchdog_timer: List of timers * + * @proto_down_reason: reason a netdev interface is held down * @pcpu_refcnt: Number of references to this device * @todo_list: Delayed register/unregister * @link_watch_list: XXX: need comments on this one