tree: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master head: 8968f507940cad09c8e2ecc4631f90d62709e17b commit: b21ae0e8b43797d7c9c3ae1d97a0257686e24005 [40/43] Bluetooth: btnxpuart: Add support for HCI coredump feature config: x86_64-buildonly-randconfig-001-20250307 (https://download.01.org/0day-ci/archive/20250307/202503070951.EcxRrnHK-lkp@xxxxxxxxx/config) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503070951.EcxRrnHK-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/202503070951.EcxRrnHK-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/bluetooth/btnxpuart.c:1683:8: error: no member named 'cmd_timeout' in 'struct hci_dev'; did you mean 'rpa_timeout'? 1683 | hdev->cmd_timeout = nxp_cmd_timeout; | ^~~~~~~~~~~ | rpa_timeout include/net/bluetooth/hci_core.h:593:10: note: 'rpa_timeout' declared here 593 | __u32 rpa_timeout; | ^ 1 error generated. vim +1683 drivers/bluetooth/btnxpuart.c 1629 1630 static int nxp_serdev_probe(struct serdev_device *serdev) 1631 { 1632 struct hci_dev *hdev; 1633 struct btnxpuart_dev *nxpdev; 1634 1635 nxpdev = devm_kzalloc(&serdev->dev, sizeof(*nxpdev), GFP_KERNEL); 1636 if (!nxpdev) 1637 return -ENOMEM; 1638 1639 nxpdev->nxp_data = (struct btnxpuart_data *)device_get_match_data(&serdev->dev); 1640 1641 nxpdev->serdev = serdev; 1642 serdev_device_set_drvdata(serdev, nxpdev); 1643 1644 serdev_device_set_client_ops(serdev, &btnxpuart_client_ops); 1645 1646 INIT_WORK(&nxpdev->tx_work, btnxpuart_tx_work); 1647 skb_queue_head_init(&nxpdev->txq); 1648 1649 init_waitqueue_head(&nxpdev->fw_dnld_done_wait_q); 1650 init_waitqueue_head(&nxpdev->check_boot_sign_wait_q); 1651 1652 device_property_read_u32(&nxpdev->serdev->dev, "fw-init-baudrate", 1653 &nxpdev->fw_init_baudrate); 1654 if (!nxpdev->fw_init_baudrate) 1655 nxpdev->fw_init_baudrate = FW_INIT_BAUDRATE; 1656 1657 set_bit(BTNXPUART_FW_DOWNLOADING, &nxpdev->tx_state); 1658 1659 crc8_populate_msb(crc8_table, POLYNOMIAL8); 1660 1661 /* Initialize and register HCI device */ 1662 hdev = hci_alloc_dev(); 1663 if (!hdev) { 1664 dev_err(&serdev->dev, "Can't allocate HCI device\n"); 1665 return -ENOMEM; 1666 } 1667 1668 nxpdev->hdev = hdev; 1669 1670 hdev->bus = HCI_UART; 1671 hci_set_drvdata(hdev, nxpdev); 1672 1673 hdev->manufacturer = MANUFACTURER_NXP; 1674 hdev->open = btnxpuart_open; 1675 hdev->close = btnxpuart_close; 1676 hdev->flush = btnxpuart_flush; 1677 hdev->setup = nxp_setup; 1678 hdev->post_init = nxp_post_init; 1679 hdev->send = nxp_enqueue; 1680 hdev->hw_error = nxp_hw_err; 1681 hdev->shutdown = nxp_shutdown; 1682 hdev->wakeup = nxp_wakeup; > 1683 hdev->cmd_timeout = nxp_cmd_timeout; 1684 SET_HCIDEV_DEV(hdev, &serdev->dev); 1685 1686 if (hci_register_dev(hdev) < 0) { 1687 dev_err(&serdev->dev, "Can't register HCI device\n"); 1688 goto probe_fail; 1689 } 1690 1691 if (ps_setup(hdev)) 1692 goto probe_fail; 1693 1694 hci_devcd_register(hdev, nxp_coredump, nxp_coredump_hdr, NULL); 1695 1696 return 0; 1697 1698 probe_fail: 1699 hci_free_dev(hdev); 1700 return -ENODEV; 1701 } 1702 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki