Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4646330rwd; Sun, 11 Jun 2023 11:50:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4W/wx307DjYfElJLSLoOKtuLnEiV/y896fIRUSpAVzY3bRUrZBdT5eXtx5innO0CFmQKAa X-Received: by 2002:a17:902:6944:b0:1b1:8900:5211 with SMTP id k4-20020a170902694400b001b189005211mr4302543plt.28.1686509449333; Sun, 11 Jun 2023 11:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686509449; cv=none; d=google.com; s=arc-20160816; b=qBqpgnNPaKJhtPK+B3x0+I53hSHqfBexKdM2FsetrXm4o2rByMMIdewAEMOKs5jFmr zqilVicd8PxYpDClf0ckKCEMMF6AaR7o6C1IrQiRuMTsSITxjS0QRDpWH7z7RYeoGZHj LjwwMI0DRzYiT6nTLXifffP00s81kxpj9+WwgsHqLaq7bY+GWqiXy8WECz+MIE8H7gCH 66Wfr7+gWsn9vSwUBInVdFtEsmLKMsT6pd4TRYNYAhSxdUqsOw+NViJearSBw6bg+yc9 ieejVNMM/J1nuSjx7vscH1OswsCtTIJBZDk1ebuL9Y0+fReJJEVyOn1JYV2NtKR3LUOC t9Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tZYLHkEnIHhVldOuPIUSklfbQT/euhgo+rYkuJvpVSM=; b=tWZLh0zzYPLMqp2+swIN9JB/zTnNDY6axq/uz/fPRx2b29z2bWmsB/nHrl9rdF9KG3 hCjkn3Jd5yl6ntkscqph8e+KDXfqo+0hoxlpPpAz8Rk7bzbH+VROR26iNgqz0pgfnjoY 4DCORLzN1LInGOKJx6Ssl6D4jkarwhQLyZcdUQyfPvcaXl7SrYU1lXN0wjtdKPzDXnld /B5CQxDJSZsyOAEAuMNurm+QVNMSAzKAiMG4umM0RYsCu0W0yk328A7DFR5DIkxM/wlS 5Pj61ZAy0UZWcfB0xtWJ3lK4WleUnz/YdXnOTvNJeIJvUaaIAjLFEl5Bpmhq63Zbh357 s1Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FLnRvzg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a170903024900b001b22f31cce9si6253783plh.179.2023.06.11.11.50.26; Sun, 11 Jun 2023 11:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FLnRvzg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232387AbjFKSnY (ORCPT + 99 others); Sun, 11 Jun 2023 14:43:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230310AbjFKSnR (ORCPT ); Sun, 11 Jun 2023 14:43:17 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BCA113E; Sun, 11 Jun 2023 11:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686508996; x=1718044996; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uRQjsywzymGdsZz7bH8Huhde6xvWD0gfIYFvWzb9ytI=; b=FLnRvzg4+t12gXbBhPuGL+A15sFfjiaBQ3fF/ZL8qfNzmujN5vyc/DiQ pug497CxS5g+9txMeH18AyMhnDSPZIkBY8l1ARoSqjlXv0pSxLg2wI7jP XdTXB7l4fjs1Uiu+KdGCgV9MhV6TkHUeQvFs0FMpd2E6ZjyNfSTN2Xcoa mGLEWMlhY7r5fA08YDlawm9Hw7zHoyRYh2XI+2MR6fpyHdhgCiXh5GhUH sFk6TLTxWUtIMAklFNbYQJ6Q+B2xLuRIAooVExrwcpMCAn/R4XtXE/HGR 3ciHLhGVkO9R55H3SiIYMxraHDu4yvUx4a18DMTIK09NAGvf+qpVnkk/Z g==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="386274634" X-IronPort-AV: E=Sophos;i="6.00,235,1681196400"; d="scan'208";a="386274634" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2023 11:43:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="823703175" X-IronPort-AV: E=Sophos;i="6.00,235,1681196400"; d="scan'208";a="823703175" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 11 Jun 2023 11:43:13 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q8Q1w-000B3P-29; Sun, 11 Jun 2023 18:43:12 +0000 Date: Mon, 12 Jun 2023 02:43:10 +0800 From: kernel test robot To: Johannes Roith , jikos@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Johannes Roith Subject: Re: [PATCH 2/2] hid-mcp2200 - updated hid-id.h Message-ID: <202306120220.hHmBq7QJ-lkp@intel.com> References: <20230611164811.1388-2-johannes@gnu-linux.rocks> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230611164811.1388-2-johannes@gnu-linux.rocks> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 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