qcacld-3.0: Fix Switch Case fallthrough compiler error
Adding fallthrough statement in switch case to suppress compile time errors. Change-Id: I948e87090dd68d2f5cf342e2115d672d2d772b6f CRs-Fixed: 3079848
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
c613af5c5e
commit
aabf3d74ff
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||||
|
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -1046,6 +1047,7 @@ static QDF_STATUS ol_fw_populate_clk_settings(enum a_refclk_speed_t refclk,
|
|||||||
clock_s->wlan_pll.outdiv = 0;
|
clock_s->wlan_pll.outdiv = 0;
|
||||||
clock_s->pll_settling_time = 1024;
|
clock_s->pll_settling_time = 1024;
|
||||||
clock_s->refclk_hz = 0;
|
clock_s->refclk_hz = 0;
|
||||||
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
@@ -4247,7 +4247,7 @@ ol_txrx_fw_stats_handler(ol_txrx_pdev_handle pdev,
|
|||||||
bytes = 0;
|
bytes = 0;
|
||||||
/* TO DO: specify how many bytes are present */
|
/* TO DO: specify how many bytes are present */
|
||||||
/* TO DO: add copying to the requestor's buf */
|
/* TO DO: add copying to the requestor's buf */
|
||||||
|
/* fallthrough */
|
||||||
case HTT_DBG_STATS_RX_REMOTE_RING_BUFFER_INFO:
|
case HTT_DBG_STATS_RX_REMOTE_RING_BUFFER_INFO:
|
||||||
bytes = sizeof(struct
|
bytes = sizeof(struct
|
||||||
rx_remote_buffer_mgmt_stats);
|
rx_remote_buffer_mgmt_stats);
|
||||||
|
Reference in New Issue
Block a user