Message ID | 20240511054059.349729-1-kiran.k@intel.com |
---|---|
State | Accepted |
Commit | e5a43efba2560d617b06e59dc10d2f9de7d08e5f |
Headers | show |
Series | [v1,1/2] Bluetooth: btintel_pcie: Fix warning reported by sparse | expand |
Hello: This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Sat, 11 May 2024 11:10:58 +0530 you wrote: > Fix sparse error. > > Fixes: a6c49bbb0b72 ("Bluetooth: btintel_pcie: Add support for PCIe transport") > Reported-by: kernel test robot <lkp@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202405100654.0djvoryZ-lkp@intel.com/ > Signed-off-by: Kiran K <kiran.k@intel.com> > > [...] Here is the summary with links: - [v1,1/2] Bluetooth: btintel_pcie: Fix warning reported by sparse https://git.kernel.org/bluetooth/bluetooth-next/c/c5cbf4f0271c - [v1,2/2] Bluetooth: btintel_pcie: Refactor and code cleanup https://git.kernel.org/bluetooth/bluetooth-next/c/710dfef50bab You are awesome, thank you!
diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c index 2853ab80079d..030a75e5d2a3 100644 --- a/drivers/bluetooth/btintel_pcie.c +++ b/drivers/bluetooth/btintel_pcie.c @@ -670,7 +670,7 @@ struct btintel_pcie_causes_list { u8 cause_num; }; -struct btintel_pcie_causes_list causes_list[] = { +static struct btintel_pcie_causes_list causes_list[] = { { BTINTEL_PCIE_MSIX_FH_INT_CAUSES_0, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x00 }, { BTINTEL_PCIE_MSIX_FH_INT_CAUSES_1, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x01 }, { BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP0, BTINTEL_PCIE_CSR_MSIX_HW_INT_MASK, 0x20 },
Fix sparse error. Fixes: a6c49bbb0b72 ("Bluetooth: btintel_pcie: Add support for PCIe transport") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202405100654.0djvoryZ-lkp@intel.com/ Signed-off-by: Kiran K <kiran.k@intel.com> --- drivers/bluetooth/btintel_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)