OSDN Git Service

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)
commit6700acc5f1fe97b5705832f2678cba9e9756a0dc
tree0604bba0ce70085f45a952571c039c89140b6e77
parentf92970c694b36a4dbac2b650b173c78c0f0954cc
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