Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1037107iob; Fri, 13 May 2022 20:34:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS3KOrxCyXGQMS7mUWt9HRoFUaqBqkQN4WXYU5Tw3WXgjlnpSZ1QuaL5NyhX2/LToG3AJh X-Received: by 2002:a1c:7512:0:b0:394:16ee:ab9b with SMTP id o18-20020a1c7512000000b0039416eeab9bmr6928961wmc.176.1652499266520; Fri, 13 May 2022 20:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652499266; cv=none; d=google.com; s=arc-20160816; b=RTJA8LkklkQnTDwXFsjdk7T+wsb4dH58CoSC+0mUrWImj7b2ZyansIFHwg/HuFo3/K n3qeWCkiyCfzDZDpjz4rfjWswPWfhSB83Wf6E0sTB4bo6wDtQ5eL7vkzgSoDvfrFbBtE 8y6Fw0mHbZK7Iey7o4oGz7GqOYoL42yOtPTa8gi2Ys0mB9HCV4pOFJ2ZlBP9Zh4YtPKG 8gYfKMZVRzzT+1zW5KY44Teq5maDSlYwO1pKe1yhQLeexhXUST2ADMv5xyVib5624juz XYYcQK+4o78LPjEiIQvA8bSGiCL3QzCEhCjaEp99LkNxHi7VxPmzWTb1VuikGR5+h1Hi NW4g== 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=z8lyh2H1vbkrXiMjeP++fDzS6PtvsCUfGKCS22nvK3Y=; b=eBXHRzFZ0qRVtnd6YtHasc1zuYHVHS7qyvxdE2AL/INC04UwPC5Rkok/NmmiTB5FmH VyD8CbOEXnAywajh5UCUOvQJb2MYGJo5sD56ktEg8YCmQiGdMBjytZwF6VQmPBnXR2gd i+ulGEvsolS02A4Qd95FPKSCyyT0je1VlEd2S4pdUFMGtKQU1UoCj+cvJRbJe/x3TCWt h0grCAleD7BC0Kb3VBs/c4vLJ9zv+jN1uvpcDnxzqMl3BMzhhabcU9tpyRIOcvCzzfGv cBlDU2VsIVNRZyaJUsBiBRiOtaPvbWRh4LxCc3BEHGukdTKuO4yAnpSfcBoaMjGw3lr9 SmLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Z/cuW2Xi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g9-20020a5d64e9000000b0020cdfe239d3si4221635wri.581.2022.05.13.20.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:34:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Z/cuW2Xi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 071B94360D3; Fri, 13 May 2022 17:10:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381325AbiEMOr7 (ORCPT + 99 others); Fri, 13 May 2022 10:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351689AbiEMOrw (ORCPT ); Fri, 13 May 2022 10:47:52 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E77C2ED6E for ; Fri, 13 May 2022 07:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652453271; x=1683989271; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HbRDZLon2bEfMnJ+egiJaqJDquML3EXNdRnTwZASpHY=; b=Z/cuW2Xiz5QhIAXQNHzPPG5cHCza+oTwdRU9Hw8qMz3TtgeTWvueuJMt zZqvIlK/HL3IDglzu8hCW7CzWj/ScKVDmXfg2D9cjSiim+SIv3g2+YLNH EEMmDRHH+GeAAPUeUo6CZZv+ORjyEFL/pKdi/nM6H0X+b0JTklJpvEK+O c3cfH8T8Ba832a506qTSE+tFMgpuBD1+pz4xAQBCjHZ4XB1CZvKd9alxj EQh1+pf20qS7ccnKKwO1jmVGTDNLIr0+fMioPro/hp0iEuLMxqPYJKeAB AWZfx8GfLeqPvDYBxrRxFdAEApLYLscvpp16mm4ZjLpnp5uyFMQD+kkVa g==; X-IronPort-AV: E=McAfee;i="6400,9594,10346"; a="356748015" X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="356748015" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 07:47:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="896251999" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 13 May 2022 07:47:48 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1npWa4-000LqE-80; Fri, 13 May 2022 14:47:48 +0000 Date: Fri, 13 May 2022 22:47:10 +0800 From: kernel test robot To: Michael Walle , Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH 5/6] mtd: spi-nor: add generic flash driver Message-ID: <202205132220.uRTFaqNA-lkp@intel.com> References: <20220513133520.3945820-6-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513133520.3945820-6-michael@walle.cc> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Michael, I love your patch! Perhaps something to improve: [auto build test WARNING on mtd/spi-nor/next] [also build test WARNING on next-20220513] [cannot apply to linux/master linus/master v5.18-rc6] [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] url: https://github.com/intel-lab-lkp/linux/commits/Michael-Walle/mtd-spi-nor-generic-flash-driver/20220513-214238 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220513/202205132220.uRTFaqNA-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.0 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/intel-lab-lkp/linux/commit/d38c0ac1528d85bea65fc5a9e7f61a10dbc051fb git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Michael-Walle/mtd-spi-nor-generic-flash-driver/20220513-214238 git checkout d38c0ac1528d85bea65fc5a9e7f61a10dbc051fb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/mtd/spi-nor/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/mtd/spi-nor/sfdp.c:1260: warning: expecting prototype for spi_nor_check_sfdp_header(). Prototype was for spi_nor_check_sfdp_signature() instead vim +1260 drivers/mtd/spi-nor/sfdp.c 1249 1250 /** 1251 * spi_nor_check_sfdp_header() - check for a valid SFDP header 1252 * @nor: pointer to a 'struct spi_nor' 1253 * 1254 * Used to detect if the flash supports the RDSFDP command as well as the 1255 * presence of a valid SFDP table. 1256 * 1257 * Return: 0 on success, -errno otherwise. 1258 */ 1259 int spi_nor_check_sfdp_signature(struct spi_nor *nor) > 1260 { 1261 u32 signature; 1262 int err; 1263 1264 /* Get the SFDP header. */ 1265 err = spi_nor_read_sfdp_dma_unsafe(nor, 0, sizeof(signature), 1266 &signature); 1267 if (err < 0) 1268 return err; 1269 1270 /* Check the SFDP signature. */ 1271 if (le32_to_cpu(signature) != SFDP_SIGNATURE) 1272 return -EINVAL; 1273 1274 return 0; 1275 } 1276 -- 0-DAY CI Kernel Test Service https://01.org/lkp