[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202212192059.gUL2EIY6-lkp@intel.com>
Date: Mon, 19 Dec 2022 20:32:23 +0800
From: kernel test robot <lkp@...el.com>
To: Puma Hsu <pumahsu@...gle.com>, gregkh@...uxfoundation.org,
mka@...omium.org, dianders@...omium.org
Cc: oe-kbuild-all@...ts.linux.dev, albertccwang@...gle.com,
raychi@...gle.com, howardyen@...gle.com, leejj@...gle.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Puma Hsu <pumahsu@...gle.com>
Subject: Re: [PATCH 2/2] usb: core: add implementations for usb
suspend/resume hooks
Hi Puma,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on usb/usb-next usb/usb-linus linus/master v6.1 next-20221219]
[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/Puma-Hsu/add-vendor-hooks-for-usb-suspend-and-resume/20221214-150942
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
patch link: https://lore.kernel.org/r/20221214070650.703793-3-pumahsu%40google.com
patch subject: [PATCH 2/2] usb: core: add implementations for usb suspend/resume hooks
config: i386-randconfig-s003
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/de7c2e5c48eae351485a1bab4b8f92c399ea6c54
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Puma-Hsu/add-vendor-hooks-for-usb-suspend-and-resume/20221214-150942
git checkout de7c2e5c48eae351485a1bab4b8f92c399ea6c54
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/usb/core/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/usb/core/usb-hooks-impl-goog.c:69:5: sparse: sparse: symbol 'usb_vendor_helper_init' was not declared. Should it be static?
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (161890 bytes)
Powered by blists - more mailing lists