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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E814AC433EF for ; Fri, 14 Jan 2022 14:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:From :Date:Reply-To:To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vT5A8iCsszawrZwzzEC94A9vdJlRovztzTK6WgmEqKc=; b=APg1bAyJ7OTRVx YcScrGbk0ApK7IrnvOLH/uv6W4eNzn/4/4ByTCWbu58FCYU7Mn7/qEa3M9lIgMhsvYVUpnq2a04hT LUwWXJ9AkxJVg/YS7EL5CzP3Kn0gfDEbU5yYA9sTU805iAonI3EIZYOz+NmmIH+MRh23ppfwPUEen SUoAWVBCHFysHs1eJa/u++O9KlQea4eeGdBVXQCv4YBAgYShGAOlETQeK8ESeahWytmROYlX8Uixe 6E9JXuLsDhw6FPS7UaT80xFEMh2RZREGg+UKNCynzUCVdriCfaX8u4o8r3W0RHamuP/zpfpBKdsai xk+DSxW8q5Sp8kedJ/GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n8Nja-009OuK-Fy; Fri, 14 Jan 2022 14:39:18 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n8NjX-009OtR-Dh for linux-arm-kernel@lists.infradead.org; Fri, 14 Jan 2022 14:39:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642171155; x=1673707155; h=date:from:cc:subject:message-id:mime-version; bh=xiK4FJ3vkfHVViVK2ZgdzT3voDbxRZ/4UfIlm6O2pyg=; b=Y5bnrf4Qc6hOsfspNZFioftcBEfIf03TkNREQlSs0bLLhbb01GvEK9KP FsP6NVb6q1D8W52anP05nBdKAGVwau97546JWKzGnQhlQDS5Bvi/w1ZD+ Pe/TKctNKsf8IQDe6U1PqDjBajUCAlMfnEyF5/dVlIIYBs5Q8jjDhspAE 1E/dpvI1iWviXMiJeYg+S9mpFPsJjDxHmG4n3qgwDTGs9A8hB9DTHN0tl wqidmI+4o2jfRBbZXtkAcQE+U1Z8TdsvIhrZZffZ/v+Ps/gUlxi52RQf8 9jU5O3nSBjLZZVkocpGnMkadVhIQ/Q7J0JAYRaeFnkM+wAi9z9qovbOC5 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="307597194" X-IronPort-AV: E=Sophos;i="5.88,288,1635231600"; d="scan'208";a="307597194" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2022 06:39:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,288,1635231600"; d="scan'208";a="475796086" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 14 Jan 2022 06:39:09 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n8NjP-0008er-S2; Fri, 14 Jan 2022 14:39:07 +0000 Date: Fri, 14 Jan 2022 22:38:58 +0800 From: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek Subject: [xilinx-xlnx:master 248/326] include/linux/mtd/cfi.h:62:2: warning: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. Message-ID: <202201142208.iEdIk0Sc-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220114_063915_547350_82C3EE66 X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://github.com/Xilinx/linux-xlnx master head: 6a698dbaaf0e6caa053476c2f661b36885a0ce30 commit: 9b62852ec04b7d48971ce8016b13c27403929908 [248/326] Merge tag 'v5.15' into master config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220114/202201142208.iEdIk0Sc-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 82c8aca93488730ce8f66101e0f3538f14b551dd) 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 # https://github.com/Xilinx/linux-xlnx/commit/9b62852ec04b7d48971ce8016b13c27403929908 git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx master git checkout 9b62852ec04b7d48971ce8016b13c27403929908 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/spi/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/spi/spi-zynqmp-gqspi.c:26: In file included from include/linux/mtd/spi-nor.h:10: >> include/linux/mtd/cfi.h:62:2: warning: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-W#warnings] #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. ^ In file included from drivers/spi/spi-zynqmp-gqspi.c:13: include/linux/firmware/xlnx-zynqmp.h:1182:12: warning: unused function 'zynqmp_pm_sec_read_reg' [-Wunused-function] static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value) ^ include/linux/firmware/xlnx-zynqmp.h:1187:12: warning: unused function 'zynqmp_pm_sec_mask_write_reg' [-Wunused-function] static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset, ^ 3 warnings generated. vim +62 include/linux/mtd/cfi.h ^1da177e4c3f41 Linus Torvalds 2005-04-16 60 241651d04d672f David Woodhouse 2007-09-06 61 #ifndef cfi_interleave 241651d04d672f David Woodhouse 2007-09-06 @62 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. 241651d04d672f David Woodhouse 2007-09-06 63 static inline int cfi_interleave(void *cfi) 241651d04d672f David Woodhouse 2007-09-06 64 { 241651d04d672f David Woodhouse 2007-09-06 65 BUG(); 241651d04d672f David Woodhouse 2007-09-06 66 return 0; 241651d04d672f David Woodhouse 2007-09-06 67 } 241651d04d672f David Woodhouse 2007-09-06 68 #endif 241651d04d672f David Woodhouse 2007-09-06 69 :::::: The code at line 62 was first introduced by commit :::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported :::::: TO: David Woodhouse :::::: CC: David Woodhouse --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel