Re: [PATCH 2/6] Bluetooth: hci_qca: schedule a devm action for disabling the clock

From: kernel test robot
Date: Sat Jul 06 2024 - 19:05:52 EST


Hi Bartosz,

kernel test robot noticed the following build errors:

[auto build test ERROR on 0b58e108042b0ed28a71cd7edf5175999955b233]

url: https://github.com/intel-lab-lkp/linux/commits/Bartosz-Golaszewski/dt-bindings-bluetooth-qualcomm-describe-the-inputs-from-PMU-for-wcn7850/20240706-055822
base: 0b58e108042b0ed28a71cd7edf5175999955b233
patch link: https://lore.kernel.org/r/20240705-hci_qca_refactor-v1-2-e2442121c13e%40linaro.org
patch subject: [PATCH 2/6] Bluetooth: hci_qca: schedule a devm action for disabling the clock
config: i386-buildonly-randconfig-006-20240707 (https://download.01.org/0day-ci/archive/20240707/202407070656.wRERdKMy-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.5.0-4ubuntu2) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240707/202407070656.wRERdKMy-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407070656.wRERdKMy-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/bluetooth/hci_qca.c: In function 'qca_serdev_remove':
>> drivers/bluetooth/hci_qca.c:2498:2: error: label at end of compound statement
2498 | default:
| ^~~~~~~


vim +2498 drivers/bluetooth/hci_qca.c

05ba533c5c1155 Thierry Escande 2018-03-29 2478
05ba533c5c1155 Thierry Escande 2018-03-29 2479 static void qca_serdev_remove(struct serdev_device *serdev)
05ba533c5c1155 Thierry Escande 2018-03-29 2480 {
05ba533c5c1155 Thierry Escande 2018-03-29 2481 struct qca_serdev *qcadev = serdev_device_get_drvdata(serdev);
054ec5e94a46b0 Venkata Lakshmi Narayana Gubba 2020-09-10 2482 struct qca_power *power = qcadev->bt_power;
05ba533c5c1155 Thierry Escande 2018-03-29 2483
691d54d0f7cb14 Neil Armstrong 2023-08-16 2484 switch (qcadev->btsoc_type) {
691d54d0f7cb14 Neil Armstrong 2023-08-16 2485 case QCA_WCN3988:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2486 case QCA_WCN3990:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2487 case QCA_WCN3991:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2488 case QCA_WCN3998:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2489 case QCA_WCN6750:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2490 case QCA_WCN6855:
e0c1278ac89b03 Neil Armstrong 2023-08-16 2491 case QCA_WCN7850:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2492 if (power->vregs_on) {
c2d7827338618a Balakrishna Godavarthi 2018-08-22 2493 qca_power_shutdown(&qcadev->serdev_hu);
691d54d0f7cb14 Neil Armstrong 2023-08-16 2494 break;
691d54d0f7cb14 Neil Armstrong 2023-08-16 2495 }
691d54d0f7cb14 Neil Armstrong 2023-08-16 2496 fallthrough;
691d54d0f7cb14 Neil Armstrong 2023-08-16 2497
691d54d0f7cb14 Neil Armstrong 2023-08-16 @2498 default:
691d54d0f7cb14 Neil Armstrong 2023-08-16 2499 }
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03 2500
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03 2501 hci_uart_unregister_device(&qcadev->serdev_hu);
05ba533c5c1155 Thierry Escande 2018-03-29 2502 }
05ba533c5c1155 Thierry Escande 2018-03-29 2503

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki