* Re: [PATCH v2 2/3] usb: typec: USB Power Deliver helpers for ports and partners
[not found] <20220412130023.83927-3-heikki.krogerus@linux.intel.com>
@ 2022-04-12 16:16 ` kernel test robot
2022-04-12 17:24 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-12 16:16 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: llvm, kbuild-all, Benson Leung, Prashant Malani, Jameson Thies,
Regupathy, Rajaram, Guenter Roeck, Won Chung, linux-usb,
linux-kernel
Hi Heikki,
I love your patch! Perhaps something to improve:
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on chrome-platform/for-next v5.18-rc2 next-20220412]
[cannot apply to balbi-usb/testing/next peter-chen-usb/for-usb-next]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Heikki-Krogerus/usb-typec-Separate-sysfs-directory-for-all-USB-PD-objects/20220412-211628
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: hexagon-buildonly-randconfig-r005-20220412 (https://download.01.org/0day-ci/archive/20220413/202204130028.O6wRGxzY-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project fe2478d44e4f7f191c43fef629ac7a23d0251e72)
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/98fece77872792e49f1005617761a533089f319d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Heikki-Krogerus/usb-typec-Separate-sysfs-directory-for-all-USB-PD-objects/20220412-211628
git checkout 98fece77872792e49f1005617761a533089f319d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/usb/typec/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/usb/typec/class.c:30:27: warning: unused variable 'cap_name' [-Wunused-const-variable]
static const char * const cap_name[] = {
^
1 warning generated.
vim +/cap_name +30 drivers/usb/typec/class.c
29
> 30 static const char * const cap_name[] = {
31 [TYPEC_SINK] = "sink-capabilities",
32 [TYPEC_SOURCE] = "source-capabilities",
33 };
34
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2 2/3] usb: typec: USB Power Deliver helpers for ports and partners
[not found] <20220412130023.83927-3-heikki.krogerus@linux.intel.com>
2022-04-12 16:16 ` [PATCH v2 2/3] usb: typec: USB Power Deliver helpers for ports and partners kernel test robot
@ 2022-04-12 17:24 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-12 17:24 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: llvm, kbuild-all, Benson Leung, Prashant Malani, Jameson Thies,
Regupathy, Rajaram, Guenter Roeck, Won Chung, linux-usb,
linux-kernel
Hi Heikki,
I love your patch! Perhaps something to improve:
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on chrome-platform/for-next v5.18-rc2 next-20220412]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Heikki-Krogerus/usb-typec-Separate-sysfs-directory-for-all-USB-PD-objects/20220412-211628
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: i386-randconfig-a004-20220411 (https://download.01.org/0day-ci/archive/20220413/202204130102.YjEnm3E0-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project fe2478d44e4f7f191c43fef629ac7a23d0251e72)
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/98fece77872792e49f1005617761a533089f319d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Heikki-Krogerus/usb-typec-Separate-sysfs-directory-for-all-USB-PD-objects/20220412-211628
git checkout 98fece77872792e49f1005617761a533089f319d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/usb/typec/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/usb/typec/class.c:30:27: warning: unused variable 'cap_name' [-Wunused-const-variable]
static const char * const cap_name[] = {
^
1 warning generated.
--
>> drivers/usb/typec/pd.c:669: warning: expecting prototype for pd_register(). Prototype was for pd_unregister() instead
>> drivers/usb/typec/pd.c:717: warning: expecting prototype for pd_link_device(). Prototype was for pd_unlink_device() instead
--
>> drivers/usb/typec/class.c:1222: warning: expecting prototype for typec_port_set_pd_capabilities(). Prototype was for typec_port_set_pd() instead
vim +/cap_name +30 drivers/usb/typec/class.c
29
> 30 static const char * const cap_name[] = {
31 [TYPEC_SINK] = "sink-capabilities",
32 [TYPEC_SOURCE] = "source-capabilities",
33 };
34
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-12 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220412130023.83927-3-heikki.krogerus@linux.intel.com>
2022-04-12 16:16 ` [PATCH v2 2/3] usb: typec: USB Power Deliver helpers for ports and partners kernel test robot
2022-04-12 17:24 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).