From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1450E1CD2C for ; Fri, 7 Mar 2025 01:15:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741310141; cv=none; b=FaKxCK+e2JCCEHkqirJnbC5Ox322BmSTcVPZe+0RL/6PYRfhvfCwaLK/rq+n/iGJY31oBZOd6vC1xChoFqAqVfNnyWpmJZQoMs4gyDSf3/cVn2o5a+5w7Q0GN0WCT45uJNWDt4y49du3y5IQD5Nqiy0IC3VqXNf74Hu+6GSVu9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741310141; c=relaxed/simple; bh=IDqfehStYsDReh/OmURi3sjsjrl6MnnNxdL6gw8M0/g=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=mJtZGN0weZLpMqNYjasx0zySXYlzbhCFduNCHbB4bA+WAloa/7qD6nB3ZWKgkJRcUEgnjmEUf3fERhIms69JM0rAOl0X6pgbrpbibpzdH5pL0uhBs0Hev4WyPaHYqwxnkPyKz/tzeEva1LO5hKLFr4Boc8oU3fMfoBI7V12UmjU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HOhatSWs; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HOhatSWs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741310140; x=1772846140; h=date:from:to:cc:subject:message-id:mime-version; bh=IDqfehStYsDReh/OmURi3sjsjrl6MnnNxdL6gw8M0/g=; b=HOhatSWslwGrzyptV4i8ve7qXU4awHBUprEkTgnbGTC2QjGG2aNs/9Fu EsW4V+x1lsOfAX90X7FtuSyWh3oRw8Q70h7GOA+bnPrMlprI+IGmPJgqG jBnkqyhj54m+sRxuqjTKrsSlCc2On3Se+dqouCy9K9boOFbRDzZAF+MUc b3AIx5sxrA7gkQEQOAGaVX6ck+bhJIdsuho8+KfJxdA2Lt2jFbziSObFV xsgmmbFyRwc0gDsgYTbfnRO7WPRJtgnNYjKBUSm8PAJXJRy7tfaaP+UKN EPsMC7yWILVPICDsY3x4aT4+nYmUoPebOImVrKsr6abXc6P9uOvWlyRGt g==; X-CSE-ConnectionGUID: NjwvXquPTJq9drS7I/EWrw== X-CSE-MsgGUID: F9ZRAyO1RLWStwzjtvZl6Q== X-IronPort-AV: E=McAfee;i="6700,10204,11365"; a="41521130" X-IronPort-AV: E=Sophos;i="6.14,227,1736841600"; d="scan'208";a="41521130" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2025 17:15:39 -0800 X-CSE-ConnectionGUID: ajNg/lLuSlewTQfMV/QH+A== X-CSE-MsgGUID: OolEWDI0QViGY/fYcEFpxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,227,1736841600"; d="scan'208";a="124115152" Received: from lkp-server02.sh.intel.com (HELO 76cde6cc1f07) ([10.239.97.151]) by orviesa003.jf.intel.com with ESMTP; 06 Mar 2025 17:15:37 -0800 Received: from kbuild by 76cde6cc1f07 with local (Exim 4.96) (envelope-from ) id 1tqMJ3-000Nqq-0e; Fri, 07 Mar 2025 01:15:23 +0000 Date: Fri, 7 Mar 2025 09:11:17 +0800 From: kernel test robot To: Neeraj Sanjay Kale Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-bluetooth@vger.kernel.org, Luiz Augusto von Dentz Subject: [bluetooth-next:master 40/43] drivers/bluetooth/btnxpuart.c:1683:8: error: no member named 'cmd_timeout' in 'struct hci_dev'; did you mean 'rpa_timeout'? Message-ID: <202503070951.EcxRrnHK-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@intel.com/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@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202503070951.EcxRrnHK-lkp@intel.com/ 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