]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: collect flash notify params into a struct
authorShannon Nelson <snelson@pensando.io>
Fri, 18 Sep 2020 01:13:24 +0000 (18:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 20:54:23 +0000 (13:54 -0700)
commitfb79016392a739425cfafcc740bcfaaf8e239d22
tree0604bba0ce70085f45a952571c039c89140b6e77
parent623d3ba961d15ffcc13347a0e6e5b984f2931645
devlink: collect flash notify params into a struct

The dev flash status notify function parameter lists are getting
rather long, so add a struct to be filled and passed rather than
continuously changing the function signatures.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/core/devlink.c