[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202409271548.taoANDmm-lkp@intel.com>
Date: Fri, 27 Sep 2024 15:34:59 +0800
From: kernel test robot <lkp@...el.com>
To: Abhishek Pandit-Subedi <abhishekpandit@...omium.org>,
heikki.krogerus@...ux.intel.com, tzungbi@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, jthies@...gle.com, pmalani@...omium.org,
akuchynski@...gle.com,
Abhishek Pandit-Subedi <abhishekpandit@...omium.org>,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 7/8] platform/chrome: cros_ec_typec: Thunderbolt support
Hi Abhishek,
kernel test robot noticed the following build errors:
[auto build test ERROR on chrome-platform/for-next]
[also build test ERROR on chrome-platform/for-firmware-next usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.11 next-20240927]
[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/Abhishek-Pandit-Subedi/usb-typec-Add-driver-for-Thunderbolt-3-Alternate-Mode/20240926-002931
base: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
patch link: https://lore.kernel.org/r/20240925092505.7.Ic61ced3cdfb5d6776435356061f12307da719829%40changeid
patch subject: [PATCH 7/8] platform/chrome: cros_ec_typec: Thunderbolt support
config: i386-randconfig-r133-20240927 (https://download.01.org/0day-ci/archive/20240927/202409271548.taoANDmm-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409271548.taoANDmm-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409271548.taoANDmm-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/platform/chrome/cros_typec_thunderbolt.o: in function `cros_typec_register_displayport':
>> drivers/platform/chrome/cros_typec_altmode.h:24: multiple definition of `cros_typec_register_displayport'; drivers/platform/chrome/cros_ec_typec.o:drivers/platform/chrome/cros_typec_altmode.h:24: first defined here
ld: drivers/platform/chrome/cros_typec_thunderbolt.o: in function `cros_typec_displayport_status_update':
>> drivers/platform/chrome/cros_typec_altmode.h:30: multiple definition of `cros_typec_displayport_status_update'; drivers/platform/chrome/cros_ec_typec.o:drivers/platform/chrome/cros_typec_altmode.h:30: first defined here
vim +24 drivers/platform/chrome/cros_typec_altmode.h
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 10
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 11 #if IS_ENABLED(CONFIG_TYPEC_DP_ALTMODE)
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 12 struct typec_altmode *
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 13 cros_typec_register_displayport(struct cros_typec_port *port,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 14 struct typec_altmode_desc *desc,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 15 bool ap_mode_entry);
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 16
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 17 int cros_typec_displayport_status_update(struct typec_altmode *altmode,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 18 struct typec_displayport_data *data);
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 19 #else
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 20 struct typec_altmode *
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 21 cros_typec_register_displayport(struct cros_typec_port *port,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 22 struct typec_altmode_desc *desc,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 23 bool ap_mode_entry)
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 @24 {
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 25 return typec_port_register_altmode(port->port, desc);
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 26 }
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 27
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 28 int cros_typec_displayport_status_update(struct typec_altmode *altmode,
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 29 struct typec_displayport_data *data)
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 @30 {
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 31 return 0;
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 32 }
a57f16462c7621 Abhishek Pandit-Subedi 2024-09-25 33 #endif
4db96705bb611f Abhishek Pandit-Subedi 2024-09-25 34
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists