Message ID | 20220225190423.1442437-1-sukadev@linux.ibm.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/1] ibmvnic: make reinit_init_done() non-inline | expand |
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index b423e94956f1..a9966819f12f 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -2219,7 +2219,7 @@ static const char *reset_reason_to_string(enum ibmvnic_reset_reason reason) * we don't miss the notification/error, initialize these _before_ * regisering the CRQ. */ -static inline void reinit_init_done(struct ibmvnic_adapter *adapter) +static void reinit_init_done(struct ibmvnic_adapter *adapter) { reinit_completion(&adapter->init_done); adapter->init_done_rc = 0;
Per netdev recommendations, drop the inline on reinit_init_done(). Fixes: ae16bf15374d ("ibmvnic: init init_done_rc earlier") Reported-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)