From: kernel test robot <lkp@intel.com>
To: Sai Teja Aluvala <quic_saluvala@quicinc.com>,
marcel@holtmann.org, johan.hedberg@gmail.com
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-bluetooth@vger.kernel.org, quic_hemantg@quicinc.com,
quic_bgodavar@quicinc.com, quic_rameshn@quicinc.com,
jiangzp@google.com, mmandlik@google.com,
Sai Teja Aluvala <quic_saluvala@quicinc.com>
Subject: Re: [PATCH v1 2/2] Bluetooth: hci_qca: Add qcomm devcoredump support
Date: Sat, 29 Apr 2023 07:54:10 +0800 [thread overview]
Message-ID: <202304290720.TfpPCFY6-lkp@intel.com> (raw)
In-Reply-To: <1682666311-8452-1-git-send-email-quic_saluvala@quicinc.com>
Hi Sai,
kernel test robot noticed the following build warnings:
[auto build test WARNING on bluetooth/master]
[also build test WARNING on bluetooth-next/master linus/master v6.3 next-20230428]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sai-Teja-Aluvala/Bluetooth-hci_qca-Add-qcomm-devcoredump-support/20230428-152145
base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master
patch link: https://lore.kernel.org/r/1682666311-8452-1-git-send-email-quic_saluvala%40quicinc.com
patch subject: [PATCH v1 2/2] Bluetooth: hci_qca: Add qcomm devcoredump support
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230429/202304290720.TfpPCFY6-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/a3c3d43057a99f13198754e0b8eaf944d1853142
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Sai-Teja-Aluvala/Bluetooth-hci_qca-Add-qcomm-devcoredump-support/20230428-152145
git checkout a3c3d43057a99f13198754e0b8eaf944d1853142
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304290720.TfpPCFY6-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/bluetooth/hci_qca.c:981:5: warning: no previous prototype for 'qca_dmp_hdr' [-Wmissing-prototypes]
981 | int qca_dmp_hdr(struct hci_dev *hdev, char *buf, size_t size)
| ^~~~~~~~~~~
drivers/bluetooth/hci_qca.c: In function 'qca_controller_memdump':
drivers/bluetooth/hci_qca.c:1070:31: error: implicit declaration of function 'hci_devcoredump_init' [-Werror=implicit-function-declaration]
1070 | ret = hci_devcoredump_init(hu->hdev, qca_memdump->ram_dump_size);
| ^~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1119:25: error: implicit declaration of function 'hci_devcoredump_append_pattern' [-Werror=implicit-function-declaration]
1119 | hci_devcoredump_append_pattern(hu->hdev, 0x00,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1136:25: error: implicit declaration of function 'hci_devcoredump_append' [-Werror=implicit-function-declaration]
1136 | hci_devcoredump_append(hu->hdev, skb);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1150:25: error: implicit declaration of function 'hci_devcoredump_complete' [-Werror=implicit-function-declaration]
1150 | hci_devcoredump_complete(hu->hdev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c: In function 'qca_hw_error':
drivers/bluetooth/hci_qca.c:1557:17: error: implicit declaration of function 'hci_devcoredump_abort' [-Werror=implicit-function-declaration]
1557 | hci_devcoredump_abort(hu->hdev);
| ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c: In function 'hciqca_coredump_enabled':
drivers/bluetooth/hci_qca.c:1727:32: error: 'struct device' has no member named 'coredump_disabled'
1727 | return !hu->serdev->dev.coredump_disabled;
| ^
drivers/bluetooth/hci_qca.c: In function 'qca_setup':
drivers/bluetooth/hci_qca.c:1866:25: error: 'struct hci_dev' has no member named 'dump'
1866 | hu->hdev->dump.enabled = hciqca_coredump_enabled;
| ^~
drivers/bluetooth/hci_qca.c:1906:9: error: implicit declaration of function 'hci_devcoredump_register' [-Werror=implicit-function-declaration]
1906 | hci_devcoredump_register(hdev, hci_coredump_qca, qca_dmp_hdr, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c: In function 'hciqca_coredump':
drivers/bluetooth/hci_qca.c:2458:17: error: 'struct device' has no member named 'coredump_disabled'
2458 | if (!dev->coredump_disabled && hdev->dump.coredump)
| ^~
drivers/bluetooth/hci_qca.c:2458:44: error: 'struct hci_dev' has no member named 'dump'
2458 | if (!dev->coredump_disabled && hdev->dump.coredump)
| ^~
drivers/bluetooth/hci_qca.c:2459:21: error: 'struct hci_dev' has no member named 'dump'
2459 | hdev->dump.coredump(hdev);
| ^~
cc1: some warnings being treated as errors
vim +/qca_dmp_hdr +981 drivers/bluetooth/hci_qca.c
980
> 981 int qca_dmp_hdr(struct hci_dev *hdev, char *buf, size_t size)
982 {
983 struct hci_uart *hu = hci_get_drvdata(hdev);
984 struct qca_data *qca = hu->priv;
985 int len = 0;
986
987 len += snprintf(buf + len, size-len, "Controller Name: 0x%x\n",
988 qca->controller_id);
989
990 len += snprintf(buf + len, size-len, "Firmware Version: 0x%x\n",
991 qca->fw_version);
992
993 len += snprintf(buf + len, size-len, "Vendor:Qualcomm\n");
994
995 len += snprintf(buf + len, size-len, "Driver: %s\n",
996 hu->serdev->dev.driver->name);
997
998 bt_dev_info(hdev, "vendor dump hdr size(%d)", len);
999 return len;
1000 }
1001
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-04-28 23:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-28 7:18 [PATCH v1 2/2] Bluetooth: hci_qca: Add qcomm devcoredump support Sai Teja Aluvala
2023-04-28 23:54 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-01 12:03 Sai Teja Aluvala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202304290720.TfpPCFY6-lkp@intel.com \
--to=lkp@intel.com \
--cc=jiangzp@google.com \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mmandlik@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_bgodavar@quicinc.com \
--cc=quic_hemantg@quicinc.com \
--cc=quic_rameshn@quicinc.com \
--cc=quic_saluvala@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox