[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220225190423.1442437-1-sukadev@linux.ibm.com>
Date: Fri, 25 Feb 2022 11:04:23 -0800
From: Sukadev Bhattiprolu <sukadev@...ux.ibm.com>
To: netdev@...r.kernel.org
Cc: Brian King <brking@...ux.ibm.com>, Dany Madden <drt@...ux.ibm.com>,
Rick Lindsley <ricklind@...ux.ibm.com>,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net 1/1] ibmvnic: make reinit_init_done() non-inline
Per netdev recommendations, drop the inline on reinit_init_done().
Fixes: ae16bf15374d ("ibmvnic: init init_done_rc earlier")
Reported-by: Jakub Kicinski <kuba@...nel.org>
Signed-off-by: Sukadev Bhattiprolu <sukadev@...ux.ibm.com>
---
drivers/net/ethernet/ibm/ibmvnic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.27.0
Powered by blists - more mailing lists