Kaynağa Gözat

qcacld-3.0: bmi: 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: I220132ef01f4bf300bbd1f54e5f9dc5208787603
CRs-Fixed: 3217416
David Oladunjoye 2 yıl önce
ebeveyn
işleme
678d1dcf9c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      core/bmi/src/ol_fw.c

+ 2 - 2
core/bmi/src/ol_fw.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-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
@@ -1047,7 +1047,7 @@ static QDF_STATUS ol_fw_populate_clk_settings(enum a_refclk_speed_t refclk,
 		clock_s->wlan_pll.outdiv = 0;
 		clock_s->pll_settling_time = 1024;
 		clock_s->refclk_hz = 0;
-		/* fallthrough */
+		fallthrough;
 	default:
 		return QDF_STATUS_E_FAILURE;
 	}