Преглед изворни кода

qcacld-3.0: tdls: Replace fallthrough comment with attribute

-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Ied21e1f913af7a453a523696a779457e092e69bd
CRs-Fixed: 3217413
David Oladunjoye пре 2 година
родитељ
комит
99f36109f4
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      components/tdls/core/src/wlan_tdls_main.c

+ 2 - 1
components/tdls/core/src/wlan_tdls_main.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -623,7 +624,7 @@ QDF_STATUS tdls_process_cmd(struct scheduler_msg *msg)
 	case TDLS_CMD_SESSION_DECREMENT:
 		tdls_process_decrement_active_session(msg->bodyptr);
 		/* take decision on connection tracker */
-		/* fallthrough */
+		fallthrough;
 	case TDLS_CMD_SESSION_INCREMENT:
 		tdls_process_policy_mgr_notification(msg->bodyptr);
 		break;