From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 973AFC00140 for ; Fri, 19 Aug 2022 02:47:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F3F148D0003; Thu, 18 Aug 2022 22:47:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EEE178D0002; Thu, 18 Aug 2022 22:47:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DB5C08D0003; Thu, 18 Aug 2022 22:47:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id CCAC88D0002 for ; Thu, 18 Aug 2022 22:47:31 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id AA7D0160466 for ; Fri, 19 Aug 2022 02:47:31 +0000 (UTC) X-FDA: 79814806302.14.3176B1E Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf29.hostedemail.com (Postfix) with ESMTP id CC91E120017 for ; Fri, 19 Aug 2022 02:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660877250; x=1692413250; h=date:from:to:cc:subject:message-id:mime-version; bh=GMrRWCmHtP+K1cz9ix34DjSAFqwxGQRvSySKIEhTu/A=; b=G1YPVz0uiKRHxZrr32GUleUIdZtHmCFxG6lAS1qMy0z3C5L7e4ZpZ1bL JD/OXnNnRqsPnJy/UkQzJacxvHv76n/BkUOSwffyyVvEhYgFheHvr8Z0S eyUTNvKOG3MCjN+9QsYjkBekLUi+F0ncl6eZtl8v+nHkIo2DS3A2JD7FO /HhYOMLTpCW65+mfi0okErLUrtKVeAo50/sdQZUPnJTRSRgsEvHDR+JfP Ouvms9/NSyHrgZfjjb7iEVPTA7KhC+6os6ZsA5rSJ+wU4UqXDuVNx+IL3 NtLdnf1SZDCaJ4+fBps5mcV7WbmCekeGwTFVPuiIOW+fwUWPuQp5B+BwY Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10443"; a="354659740" X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="354659740" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2022 19:47:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="697412033" Received: from lkp-server01.sh.intel.com (HELO 44b6dac04a33) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 18 Aug 2022 19:47:26 -0700 Received: from kbuild by 44b6dac04a33 with local (Exim 4.96) (envelope-from ) id 1oOs2f-0000ya-2l; Fri, 19 Aug 2022 02:47:25 +0000 Date: Fri, 19 Aug 2022 10:47:18 +0800 From: kernel test robot To: Matt Flax Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Mark Brown Subject: [linux-next:master 958/2065] sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match' Message-ID: <202208191049.E2V7QwLA-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660877250; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=IEUGehZpVnB7/0aqEKI0/NVgbPzTNiha/+mIQ97RAqU=; b=ji/6fRrF0XZi/pjCetvNlGGWEpja4FNdCb2vXDPwOaUbTdIHS52fH05o04vpOB+UP82le8 fxcI1DhisII4Gj1FFKZvDpeI6+s2efdykjjgzI0v45Zdmc5zTfFc+gdUgFV+AGzHx1ZFyH u5JZ6WFVq7X3O/FONqmj5xGFl60w7lI= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=G1YPVz0u; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660877250; a=rsa-sha256; cv=none; b=qp8slR4zOJKxmMS6Uot1oa1PsX9bAdRDSAwi1NBOq85xZ3BklPNmYL5s4bu2ltB4W+JGpb vBLkcb4npPsEF4TbUwX4/BOjdfcAOIEP4tILAqovDSo0S3vWQ8VJsBI87wLe0dxLh/fLSC u/OuD0RHNW1ae6SdgQzbGiabqBf8geM= X-Rspam-User: Authentication-Results: imf29.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=G1YPVz0u; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: ftue83yurz5b3mk9i7esbh97ugowwza8 X-Rspamd-Queue-Id: CC91E120017 X-Rspamd-Server: rspam05 X-HE-Tag: 1660877249-524974 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5b6a4bf680d61b1dd26629840f848d0df8983c62 commit: 4e6bedd3c396014ba70de2b4c9995c8e024e82b3 [958/2065] ASoC: codecs: add support for the TI SRC4392 codec config: s390-buildonly-randconfig-r003-20220819 (https://download.01.org/0day-ci/archive/20220819/202208191049.E2V7QwLA-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec) 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 # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4e6bedd3c396014ba70de2b4c9995c8e024e82b3 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 4e6bedd3c396014ba70de2b4c9995c8e024e82b3 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from sound/soc/codecs/src4xxx-i2c.c:11: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: 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/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) ^ In file included from sound/soc/codecs/src4xxx-i2c.c:11: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: 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/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) ^ In file included from sound/soc/codecs/src4xxx-i2c.c:11: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: 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); ~~~~~~~~~~ ^ >> sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match' [-Wunused-const-variable] static const struct of_device_id src4xxx_of_match[] = { ^ 13 warnings generated. vim +/src4xxx_of_match +28 sound/soc/codecs/src4xxx-i2c.c 27 > 28 static const struct of_device_id src4xxx_of_match[] = { 29 { .compatible = "ti,src4392", }, 30 { } 31 }; 32 MODULE_DEVICE_TABLE(of, src4xxx_of_match); 33 34 -- 0-DAY CI Kernel Test Service https://01.org/lkp