* Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
@ 2023-06-12 1:11 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2023-06-12 1:11 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check first_new_problem: drivers/hid/i2c-hid/../hid-ids.h:914:9: sparse: this was the original definition"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20230611164811.1388-2-johannes@gnu-linux.rocks>
References: <20230611164811.1388-2-johannes@gnu-linux.rocks>
TO: Johannes Roith <johannes@gnu-linux.rocks>
TO: jikos@kernel.org
CC: linux-input@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Johannes Roith <johannes@gnu-linux.rocks>
Hi Johannes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.4-rc5]
[also build test WARNING on linus/master next-20230609]
[cannot apply to hid/for-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
base: v6.4-rc5
patch link: https://lore.kernel.org/r/20230611164811.1388-2-johannes%40gnu-linux.rocks
patch subject: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: riscv-randconfig-s033-20230611 (https://download.01.org/0day-ci/archive/20230612/202306120845.BHvT4f9N-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 12.3.0
reproduce:
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/01f63040a4a77e899a95ebda6ffcca6e1aea19f7
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
git checkout 01f63040a4a77e899a95ebda6ffcca6e1aea19f7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash drivers/
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@intel.com>
| Closes: https://lore.kernel.org/r/202306120845.BHvT4f9N-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
WARNING: invalid argument to '-march': '_zihintpause'
drivers/hid/i2c-hid/i2c-hid-core.c: note: in included file:
drivers/hid/i2c-hid/../hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/i2c-hid/../hid-ids.h:914:9: sparse: this was the original definition
vim +914 drivers/hid/i2c-hid/../hid-ids.h
990436a7c9d0e5 Jiri Slaby 2008-06-04 905
990436a7c9d0e5 Jiri Slaby 2008-06-04 906 #define USB_VENDOR_ID_MICROCHIP 0x04d8
990436a7c9d0e5 Jiri Slaby 2008-06-04 907 #define USB_DEVICE_ID_PICKIT1 0x0032
990436a7c9d0e5 Jiri Slaby 2008-06-04 908 #define USB_DEVICE_ID_PICKIT2 0x0033
236db47c2b3b69 Bruno Prémont 2010-03-30 909 #define USB_DEVICE_ID_PICOLCD 0xc002
236db47c2b3b69 Bruno Prémont 2010-03-30 910 #define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002
a8c8316b11594e Kristian Evensen 2015-01-20 911 #define USB_DEVICE_ID_PICK16F1454 0x0042
84f6ea1d86bfe5 Kristian Evensen 2016-01-06 912 #define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
9d1e048cc8e1f9 Heiner Kallweit 2016-07-04 913 #define USB_DEVICE_ID_LUXAFOR 0xf372
67a95c21463d06 Rishi Gupta 2020-01-28 @914 #define USB_DEVICE_ID_MCP2221 0x00dd
01f63040a4a77e Johannes Roith 2023-06-11 915 #define USB_DEVICE_ID_MCP2221 0x00df
990436a7c9d0e5 Jiri Slaby 2008-06-04 916
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
@ 2023-06-12 0:50 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2023-06-12 0:50 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: drivers/hid/hid-ids.h:914:9: sparse: this was the original definition"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20230611164811.1388-2-johannes@gnu-linux.rocks>
References: <20230611164811.1388-2-johannes@gnu-linux.rocks>
TO: Johannes Roith <johannes@gnu-linux.rocks>
TO: jikos@kernel.org
CC: linux-input@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Johannes Roith <johannes@gnu-linux.rocks>
Hi Johannes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.4-rc5]
[also build test WARNING on linus/master next-20230609]
[cannot apply to hid/for-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
base: v6.4-rc5
patch link: https://lore.kernel.org/r/20230611164811.1388-2-johannes%40gnu-linux.rocks
patch subject: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: nios2-randconfig-s041-20230612 (https://download.01.org/0day-ci/archive/20230612/202306120800.HCd5Dlmq-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 12.3.0
reproduce:
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/01f63040a4a77e899a95ebda6ffcca6e1aea19f7
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
git checkout 01f63040a4a77e899a95ebda6ffcca6e1aea19f7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/
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@intel.com>
| Closes: https://lore.kernel.org/r/202306120800.HCd5Dlmq-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/hid/hid-core.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
drivers/hid/hid-core.c:636:15: sparse: sparse: memset with byte count of 110608
drivers/hid/hid-core.c:862:15: sparse: sparse: memset with byte count of 110608
--
drivers/hid/hid-quirks.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-input.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-a4tech.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-axff.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-belkin.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-apple.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-aureal.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-cougar.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-cypress.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-evision.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-emsff.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-ezkey.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-elecom.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-glorious.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-gyration.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-icade.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-ite.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-jabra.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-kensington.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-keytouch.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-lcpower.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-kye.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-monterey.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-magicmouse.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-pl.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-petalynx.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-nintendo.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-multitouch.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-picolcd_core.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-picolcd_leds.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-pxrc.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-plantronics.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-razer.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-saitek.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-playstation.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-steelseries.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-gaff.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-steam.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-tivo.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-twinhan.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-topre.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-xinmo.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-udraw-ps3.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-xiaomi.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-zydacron.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-viewsonic.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
--
drivers/hid/hid-sensor-hub.c: note: in included file:
drivers/hid/hid-ids.h:915:9: sparse: sparse: preprocessor token USB_DEVICE_ID_MCP2221 redefined
>> drivers/hid/hid-ids.h:914:9: sparse: this was the original definition
vim +914 drivers/hid/hid-ids.h
990436a7c9d0e5 Jiri Slaby 2008-06-04 905
990436a7c9d0e5 Jiri Slaby 2008-06-04 906 #define USB_VENDOR_ID_MICROCHIP 0x04d8
990436a7c9d0e5 Jiri Slaby 2008-06-04 907 #define USB_DEVICE_ID_PICKIT1 0x0032
990436a7c9d0e5 Jiri Slaby 2008-06-04 908 #define USB_DEVICE_ID_PICKIT2 0x0033
236db47c2b3b69 Bruno Prémont 2010-03-30 909 #define USB_DEVICE_ID_PICOLCD 0xc002
236db47c2b3b69 Bruno Prémont 2010-03-30 910 #define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002
a8c8316b11594e Kristian Evensen 2015-01-20 911 #define USB_DEVICE_ID_PICK16F1454 0x0042
84f6ea1d86bfe5 Kristian Evensen 2016-01-06 912 #define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
9d1e048cc8e1f9 Heiner Kallweit 2016-07-04 913 #define USB_DEVICE_ID_LUXAFOR 0xf372
67a95c21463d06 Rishi Gupta 2020-01-28 @914 #define USB_DEVICE_ID_MCP2221 0x00dd
01f63040a4a77e Johannes Roith 2023-06-11 @915 #define USB_DEVICE_ID_MCP2221 0x00df
990436a7c9d0e5 Jiri Slaby 2008-06-04 916
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
2023-06-11 16:48 ` [PATCH 2/2] hid-mcp2200 - updated hid-id.h Johannes Roith
2023-06-11 18:43 ` kernel test robot
2023-06-11 18:53 ` kernel test robot
@ 2023-06-11 19:13 ` Christophe JAILLET
2 siblings, 0 replies; 6+ messages in thread
From: Christophe JAILLET @ 2023-06-11 19:13 UTC (permalink / raw)
To: Johannes Roith, jikos; +Cc: linux-input, linux-kernel
Le 11/06/2023 à 18:48, Johannes Roith a écrit :
> Added Product ID for Microchip MCP2200 so the module can be compiled
> correctly.
>
> Signed-off-by: Johannes Roith <johannes@gnu-linux.rocks>
>
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index 5d29abac2300..b48cb8224e0d 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -912,6 +912,7 @@
> #define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
> #define USB_DEVICE_ID_LUXAFOR 0xf372
> #define USB_DEVICE_ID_MCP2221 0x00dd
> +#define USB_DEVICE_ID_MCP2221 0x00df
2 times USB_DEVICE_ID_MCP2221 with different values?
USB_DEVICE_ID_MCP2200?
Also this one should be merged with patch 1/2 or sent before the other
one, otherwise 1/2 can't compile.
CJ
>
> #define USB_VENDOR_ID_MICROSOFT 0x045e
> #define USB_DEVICE_ID_SIDEWINDER_GV 0x003b
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
2023-06-11 16:48 ` [PATCH 2/2] hid-mcp2200 - updated hid-id.h Johannes Roith
2023-06-11 18:43 ` kernel test robot
@ 2023-06-11 18:53 ` kernel test robot
2023-06-11 19:13 ` Christophe JAILLET
2 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2023-06-11 18:53 UTC (permalink / raw)
To: Johannes Roith, jikos
Cc: oe-kbuild-all, linux-input, linux-kernel, Johannes Roith
Hi Johannes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.4-rc5]
[also build test WARNING on linus/master next-20230609]
[cannot apply to hid/for-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
base: v6.4-rc5
patch link: https://lore.kernel.org/r/20230611164811.1388-2-johannes%40gnu-linux.rocks
patch subject: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20230612/202306120204.6ROntFhJ-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout v6.4-rc5
b4 shazam https://lore.kernel.org/r/20230611164811.1388-2-johannes@gnu-linux.rocks
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/
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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306120204.6ROntFhJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/hid/hid-core.c:36:
>> drivers/hid/hid-ids.h:915: warning: "USB_DEVICE_ID_MCP2221" redefined
915 | #define USB_DEVICE_ID_MCP2221 0x00df
|
drivers/hid/hid-ids.h:914: note: this is the location of the previous definition
914 | #define USB_DEVICE_ID_MCP2221 0x00dd
|
vim +/USB_DEVICE_ID_MCP2221 +915 drivers/hid/hid-ids.h
905
906 #define USB_VENDOR_ID_MICROCHIP 0x04d8
907 #define USB_DEVICE_ID_PICKIT1 0x0032
908 #define USB_DEVICE_ID_PICKIT2 0x0033
909 #define USB_DEVICE_ID_PICOLCD 0xc002
910 #define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002
911 #define USB_DEVICE_ID_PICK16F1454 0x0042
912 #define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
913 #define USB_DEVICE_ID_LUXAFOR 0xf372
914 #define USB_DEVICE_ID_MCP2221 0x00dd
> 915 #define USB_DEVICE_ID_MCP2221 0x00df
916
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
2023-06-11 16:48 ` [PATCH 2/2] hid-mcp2200 - updated hid-id.h Johannes Roith
@ 2023-06-11 18:43 ` kernel test robot
2023-06-11 18:53 ` kernel test robot
2023-06-11 19:13 ` Christophe JAILLET
2 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2023-06-11 18:43 UTC (permalink / raw)
To: Johannes Roith, jikos
Cc: llvm, oe-kbuild-all, linux-input, linux-kernel, Johannes Roith
Hi Johannes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.4-rc5]
[also build test WARNING on linus/master next-20230609]
[cannot apply to hid/for-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Johannes-Roith/hid-mcp2200-updated-hid-id-h/20230612-005025
base: v6.4-rc5
patch link: https://lore.kernel.org/r/20230611164811.1388-2-johannes%40gnu-linux.rocks
patch subject: [PATCH 2/2] hid-mcp2200 - updated hid-id.h
config: um-x86_64_defconfig (https://download.01.org/0day-ci/archive/20230612/202306120220.hHmBq7QJ-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install um cross compiling tool for clang build
# apt-get install binutils-um-linux-gnu
git checkout v6.4-rc5
b4 shazam https://lore.kernel.org/r/20230611164811.1388-2-johannes@gnu-linux.rocks
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=um olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=um SHELL=/bin/bash drivers/
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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306120220.hHmBq7QJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/hid/hid-core.c:31:
In file included from include/linux/hid.h:29:
In file included from include/linux/hid_bpf.h:6:
In file included from include/linux/bpf.h:31:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __raw_readb(PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
^
In file included from drivers/hid/hid-core.c:31:
In file included from include/linux/hid.h:29:
In file included from include/linux/hid_bpf.h:6:
In file included from include/linux/bpf.h:31:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
^
In file included from drivers/hid/hid-core.c:31:
In file included from include/linux/hid.h:29:
In file included from include/linux/hid_bpf.h:6:
In file included from include/linux/bpf.h:31:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:692:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:700:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:708:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:717:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:726:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:735:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
In file included from drivers/hid/hid-core.c:36:
>> drivers/hid/hid-ids.h:915:9: warning: 'USB_DEVICE_ID_MCP2221' macro redefined [-Wmacro-redefined]
#define USB_DEVICE_ID_MCP2221 0x00df
^
drivers/hid/hid-ids.h:914:9: note: previous definition is here
#define USB_DEVICE_ID_MCP2221 0x00dd
^
13 warnings generated.
vim +/USB_DEVICE_ID_MCP2221 +915 drivers/hid/hid-ids.h
905
906 #define USB_VENDOR_ID_MICROCHIP 0x04d8
907 #define USB_DEVICE_ID_PICKIT1 0x0032
908 #define USB_DEVICE_ID_PICKIT2 0x0033
909 #define USB_DEVICE_ID_PICOLCD 0xc002
910 #define USB_DEVICE_ID_PICOLCD_BOOTLOADER 0xf002
911 #define USB_DEVICE_ID_PICK16F1454 0x0042
912 #define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
913 #define USB_DEVICE_ID_LUXAFOR 0xf372
914 #define USB_DEVICE_ID_MCP2221 0x00dd
> 915 #define USB_DEVICE_ID_MCP2221 0x00df
916
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] hid-mcp2200 - updated hid-id.h
2023-06-11 16:48 [PATCH 1/2] hid-mcp2200 added driver for MCP2200 GPIOs Johannes Roith
@ 2023-06-11 16:48 ` Johannes Roith
2023-06-11 18:43 ` kernel test robot
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Johannes Roith @ 2023-06-11 16:48 UTC (permalink / raw)
To: jikos; +Cc: linux-input, linux-kernel, Johannes Roith
Added Product ID for Microchip MCP2200 so the module can be compiled
correctly.
Signed-off-by: Johannes Roith <johannes@gnu-linux.rocks>
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 5d29abac2300..b48cb8224e0d 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -912,6 +912,7 @@
#define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
#define USB_DEVICE_ID_LUXAFOR 0xf372
#define USB_DEVICE_ID_MCP2221 0x00dd
+#define USB_DEVICE_ID_MCP2221 0x00df
#define USB_VENDOR_ID_MICROSOFT 0x045e
#define USB_DEVICE_ID_SIDEWINDER_GV 0x003b
--
2.41.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-12 1:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 1:11 [PATCH 2/2] hid-mcp2200 - updated hid-id.h kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-06-12 0:50 kernel test robot
2023-06-11 16:48 [PATCH 1/2] hid-mcp2200 added driver for MCP2200 GPIOs Johannes Roith
2023-06-11 16:48 ` [PATCH 2/2] hid-mcp2200 - updated hid-id.h Johannes Roith
2023-06-11 18:43 ` kernel test robot
2023-06-11 18:53 ` kernel test robot
2023-06-11 19:13 ` Christophe JAILLET
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.