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 03444CDB47E for ; Fri, 13 Oct 2023 05:18:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1FAC68D015C; Fri, 13 Oct 2023 01:18:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1AA318D0015; Fri, 13 Oct 2023 01:18:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 099778D015C; Fri, 13 Oct 2023 01:18:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id EAD4E8D0015 for ; Fri, 13 Oct 2023 01:18:29 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B7C1D140131 for ; Fri, 13 Oct 2023 05:18:29 +0000 (UTC) X-FDA: 81339282738.28.226A69A Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by imf27.hostedemail.com (Postfix) with ESMTP id 3850D40006 for ; Fri, 13 Oct 2023 05:18:26 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TzxdpQzH; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 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=1697174308; a=rsa-sha256; cv=none; b=yND2zicsoZ+3926OwaWkjsJZcedmDKBS9igaw63yxRPlbAGJdTH7dHokgAbn2H8tmUv6Bc 7LF7MM3BtEyK6PnUZCC/MKhO2zHmhuq1urSPKW5vYqcCy8r43NEQE+FBOIep6r1BlnSCyU 8LEPj6IOMGeAyPrs956wZJvNc13kRqc= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TzxdpQzH; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1697174308; 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=JnIcbA9fiIF+atQ9VR6k/9dKfcSrxqQ2NradrwV9aVU=; b=zrfsXnDBKM539wjeiK5J8V2yUNmI6ZCy0ygVs5rB5uzOXVPnGxx6nNwofH7m1WtP3zRMpq 9RHrSBNED9Sv4hIAFuMGnIZ0OLG0u/+znjpJFsOdsz3n8CvtDz/hnJ5PsrPCOOoAryzEMF 28FA7uWhe0mmBMuqxclrLYnkj8fHsB8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697174307; x=1728710307; h=date:from:to:cc:subject:message-id:mime-version; bh=Fq+2aXruiq6cYxjIPxlEZ/+Q8nqk9oZLyJpiOkqszL4=; b=TzxdpQzHRJx+ISy6nO9X8Mpp9+12Vx44gCM0sRPS929xsBSUv4KEvy1P 4kazA6lhm6CLHod937mfJkpVOCnmgrW21o4/rR1u1a1xMGKAFVn+BHlTS EyKN4qFIucaPbzbePI6kzZISOzfq5iT6Ue1M/DU06iHC56mEucH+R+Cnh dPnXYLCXFsnKac0Kic8wHrS/Om9GD6jZ+nxwXrfSJHoaIQJEKkPgerDUj BOOK25I/ilHW3HdKJ0GxTWOquVoJS4m3Fmpabu7QDCjucJHhG3pOm8WhD fTXLuzcLZFP45h5P8GMwTGLtqvBa4cdHyLKE6zYW7lVxUsgu5etypWgeH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="387961521" X-IronPort-AV: E=Sophos;i="6.03,221,1694761200"; d="scan'208";a="387961521" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2023 22:13:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="824893364" X-IronPort-AV: E=Sophos;i="6.03,221,1694761200"; d="scan'208";a="824893364" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 12 Oct 2023 22:13:00 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qrATp-0004ML-3A; Fri, 13 Oct 2023 05:12:58 +0000 Date: Fri, 13 Oct 2023 13:12:16 +0800 From: kernel test robot To: Rob Herring Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Mark Brown Subject: [linux-next:master 10163/11653] sound/soc/rockchip/rockchip_i2s_tdm.c:1315:34: warning: unused variable 'rockchip_i2s_tdm_match' Message-ID: <202310131310.Em4Ucd4e-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 3850D40006 X-Stat-Signature: yo4eh7w8chhrdds7j3r4z5z4fehr6aoi X-Rspam-User: X-HE-Tag: 1697174306-115851 X-HE-Meta: U2FsdGVkX1911EtLe65vuefkQYnbnbTRBbvLvGDZA+fRtqs0ruX+Qzdl/Mv3tYtYEND4JN5IdC9Hc60CnxkU2C6OR/BiXQRIaVsKwiEsjgvakbHqbbcQsTwNDlnyRvUE7EOptR1hvQbxlLZ1LXbx6/gkUQHXHzO1UPSMkiy6k343OxJ68/W495UFVAVw28ZmTX+aMull+2ESd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QBCJPhz9aZRt3slRolNE8fQ/Ks+r7UJtz6s+0ay6Ci1boEkONIng1Oi2BhDGJQyFNsdVud1fPie4JjUT+6fhjm50BFXR636w== 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: f9a6bea131849702d591d18d5c8b8a0eda6f62b3 commit: 9958d85968ed2df4b704105fd2a9c3669eb9cd97 [10163/11653] ASoC: Use device_get_match_data() config: hexagon-randconfig-r002-20211203 (https://download.01.org/0day-ci/archive/20231013/202310131310.Em4Ucd4e-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231013/202310131310.Em4Ucd4e-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202310131310.Em4Ucd4e-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from sound/soc/rockchip/rockchip_i2s_tdm.c:15: 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/hexagon/include/asm/io.h:337: 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 sound/soc/rockchip/rockchip_i2s_tdm.c:15: 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/hexagon/include/asm/io.h:337: 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 sound/soc/rockchip/rockchip_i2s_tdm.c:15: 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/hexagon/include/asm/io.h:337: 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); ~~~~~~~~~~ ^ >> sound/soc/rockchip/rockchip_i2s_tdm.c:1315:34: warning: unused variable 'rockchip_i2s_tdm_match' [-Wunused-const-variable] static const struct of_device_id rockchip_i2s_tdm_match[] = { ^ 7 warnings generated. vim +/rockchip_i2s_tdm_match +1315 sound/soc/rockchip/rockchip_i2s_tdm.c 081068fd641403 Nicolas Frattaroli 2021-10-01 1314 081068fd641403 Nicolas Frattaroli 2021-10-01 @1315 static const struct of_device_id rockchip_i2s_tdm_match[] = { 081068fd641403 Nicolas Frattaroli 2021-10-01 1316 { .compatible = "rockchip,px30-i2s-tdm", .data = &px30_i2s_soc_data }, 081068fd641403 Nicolas Frattaroli 2021-10-01 1317 { .compatible = "rockchip,rk1808-i2s-tdm", .data = &rk1808_i2s_soc_data }, 081068fd641403 Nicolas Frattaroli 2021-10-01 1318 { .compatible = "rockchip,rk3308-i2s-tdm", .data = &rk3308_i2s_soc_data }, 081068fd641403 Nicolas Frattaroli 2021-10-01 1319 { .compatible = "rockchip,rk3568-i2s-tdm", .data = &rk3568_i2s_soc_data }, c619bd4268ff98 Nicolas Frattaroli 2022-10-25 1320 { .compatible = "rockchip,rk3588-i2s-tdm" }, 081068fd641403 Nicolas Frattaroli 2021-10-01 1321 { .compatible = "rockchip,rv1126-i2s-tdm", .data = &rv1126_i2s_soc_data }, 081068fd641403 Nicolas Frattaroli 2021-10-01 1322 {}, 081068fd641403 Nicolas Frattaroli 2021-10-01 1323 }; 081068fd641403 Nicolas Frattaroli 2021-10-01 1324 :::::: The code at line 1315 was first introduced by commit :::::: 081068fd641403994f0505e6b91e021d3925f348 ASoC: rockchip: add support for i2s-tdm controller :::::: TO: Nicolas Frattaroli :::::: CC: Mark Brown -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki