Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp602977rda; Sun, 22 Oct 2023 01:32:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOKnjmIay8QYU/KfaKqaW/MSAFSDNt0heknJH7PFueZCe6UJ6p4Z26JyHn85k6EPmfiCBw X-Received: by 2002:aca:2413:0:b0:3b2:ec37:da9e with SMTP id n19-20020aca2413000000b003b2ec37da9emr8119834oic.55.1697963542574; Sun, 22 Oct 2023 01:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697963542; cv=none; d=google.com; s=arc-20160816; b=h5a1VVpInNOUBaQDjY2H1H+imEe/8ao/XLnx8gaCDcKrV99SxSxzb00ifsQPB6oFb+ 01l7KC/YXZD5ULhK3AbXzlTlxbA+pBcBVChw0reGstWBWPxTj09URAYg/PCgO9T/fjuX e930VK6IlqtNG1hBkIypBUE7dCHwY8L/0I4jnR10mJARkBe+JFv8VqfcpmfRg+fYhJMu KZOGgFyckfnTYGhhJVWsspKWgA3Rbr4AQxjoawPusz1Jhz4lJjdGTKEyYk+s82MvHCvq PZ2lbznz3AGaZ01rlYemZ1iX49Ivm1lATW4UfC2aBD0Nga8fzex3Z6ZJGWOiDE9T+gi9 VOqw== 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=Dh7tyR4gCI3tVmvl1/EkDB/9fIhWXlN/7Jst0U18CGo=; fh=OgiidmZQmLPSS0ziho5L0gUMzx+vT4qXDWytCIWZrA8=; b=zR8E1KFLUtZ2tXL0RPBjaZqdLdaxObzXtqZF4W189QGUHD83tZqbQUSJK22Fm0WFy3 cNPW3leCB9imqYagrCoHwkW73jwl7Sb93mzoLeP7lrLktGtpw01UNBNTqsyyCmxAEF7A 1+5PAoaK1wzf8SwmQXQbLsId3Aczt9+FHHBCTrVe7LcIrpgdTSmvQFuV6e5sOwN3XfXz ksV4lPqeFI+6bi859xncsq1Ig01KRzDKcxlwDCMsdWn30v/Osk1INg3aFYaffGTTKb+f RDA+JvESju2SnaQm10s8WexI1E75um6ix87lwfDUawFy4afHEupbh3su/lnJ/S4/RVyk d8aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KQkcuheZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n2-20020a170902d2c200b001b8ac52a19esi4867745plc.436.2023.10.22.01.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 01:32:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KQkcuheZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8B297808494B; Sun, 22 Oct 2023 01:32:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231305AbjJVIbz (ORCPT + 99 others); Sun, 22 Oct 2023 04:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbjJVIby (ORCPT ); Sun, 22 Oct 2023 04:31:54 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 482CACF for ; Sun, 22 Oct 2023 01:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697963512; x=1729499512; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=B+LUU+LUPgseHp/T5tWguaCeAhNu1hLovr80ntU32mA=; b=KQkcuheZ4cHwmZfOFVsVNwqnyhYjzCqC8wK3LwsVNNxGK2DKwIR3fJ1E OAOta+kVpZ686OOOrtUboZvcpPkc9W99U7Umc5G/W6VBc0Q0qkCfgdobO 14YSh+ftgGByHruhvQaGOQcbIDNDIeBClLbY+wM8GUTPbfBmiLX5MP41t v8Gfj2XI1E0zYlkpRUHlGaw6PspPg4+CS1g452FUyMsxX+N0cNfJwZixn ttk00ZXXosGRO/Q7FtE+jzVO9kgNgshpn1h3DnfGLbakM4H4/9br6lmA2 UptrjD4fx92UfsGykaLCnm93w8j9hZYXac6EXniL55w4lj+XWlrh6672l A==; X-IronPort-AV: E=McAfee;i="6600,9927,10870"; a="383890157" X-IronPort-AV: E=Sophos;i="6.03,242,1694761200"; d="scan'208";a="383890157" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2023 01:31:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10870"; a="734369412" X-IronPort-AV: E=Sophos;i="6.03,242,1694761200"; d="scan'208";a="734369412" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 22 Oct 2023 01:31:47 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1quTs8-0005jy-2t; Sun, 22 Oct 2023 08:31:44 +0000 Date: Sun, 22 Oct 2023 16:31:04 +0800 From: kernel test robot To: dregan@broadcom.com, bcm-kernel-feedback-list@broadcom.com, linux-mtd@lists.infradead.org, f.fainelli@gmail.com, rafal@milecki.pl, joel.peshkin@broadcom.com, computersforpeace@gmail.com, dan.beygelman@broadcom.com, william.zhang@broadcom.com, frieder.schrempf@kontron.de, linux-kernel@vger.kernel.org, vigneshr@ti.com, richard@nod.at, bbrezillon@kernel.org, kdasu.kdev@gmail.com, JaimeLiao , Arseniy Krasnov , Adam Borowski Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v3 4/4] mtd: rawnand: brcmnand: exec_op implementation Message-ID: <202310221656.oDdh8ExK-lkp@intel.com> References: <20231017201417.129872-4-dregan@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231017201417.129872-4-dregan@broadcom.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 22 Oct 2023 01:32:15 -0700 (PDT) Hi, kernel test robot noticed the following build warnings: [auto build test WARNING on mtd/nand/next] [also build test WARNING on linus/master v6.6-rc6 next-20231020] [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/dregan-broadcom-com/mtd-rawnand-NAND-controller-write-protect/20231018-042758 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next patch link: https://lore.kernel.org/r/20231017201417.129872-4-dregan%40broadcom.com patch subject: [PATCH v3 4/4] mtd: rawnand: brcmnand: exec_op implementation config: i386-buildonly-randconfig-002-20231022 (https://download.01.org/0day-ci/archive/20231022/202310221656.oDdh8ExK-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231022/202310221656.oDdh8ExK-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/202310221656.oDdh8ExK-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/mtd/nand/raw/brcmnand/brcmnand.c:2393:5: warning: no previous declaration for 'brcmnand_exec_op_is_status' [-Wmissing-declarations] int brcmnand_exec_op_is_status(const struct nand_operation *op) ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/mtd/nand/raw/brcmnand/brcmnand.c:2404:5: warning: no previous declaration for 'brcmnand_exec_op_is_reset' [-Wmissing-declarations] int brcmnand_exec_op_is_reset(const struct nand_operation *op) ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/brcmnand_exec_op_is_status +2393 drivers/mtd/nand/raw/brcmnand/brcmnand.c 2392 > 2393 int brcmnand_exec_op_is_status(const struct nand_operation *op) 2394 { 2395 if ((op->ninstrs == 2) && 2396 (op->instrs[0].type == NAND_OP_CMD_INSTR) && 2397 (op->instrs[0].ctx.cmd.opcode == NAND_CMD_STATUS) && 2398 (op->instrs[1].type == NAND_OP_DATA_IN_INSTR)) 2399 return 1; 2400 2401 return 0; 2402 } 2403 > 2404 int brcmnand_exec_op_is_reset(const struct nand_operation *op) 2405 { 2406 if ((op->ninstrs == 1) && 2407 (op->instrs[0].type == NAND_OP_CMD_INSTR) && 2408 (op->instrs[0].ctx.cmd.opcode == NAND_CMD_RESET)) 2409 return 1; 2410 2411 return 0; 2412 } 2413 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki