diff mbox series

[net,1/1] ibmvnic: make reinit_init_done() non-inline

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

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net
netdev/fixes_present success Fixes tag present in non-next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers fail 1 blamed authors not CCed: davem@davemloft.net; 6 maintainers not CCed: paulus@samba.org benh@kernel.crashing.org mpe@ellerman.id.au linuxppc-dev@lists.ozlabs.org davem@davemloft.net tlfalcon@linux.ibm.com
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 1 now: 0

Commit Message

Sukadev Bhattiprolu Feb. 25, 2022, 7:04 p.m. UTC
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(-)
diff mbox series

Patch

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;