Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3119985rdg; Tue, 17 Oct 2023 05:26:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUBXDRqYR9CmcOOoXucw0fCaVFvQYgcwKhDged2pfFrZP2HR3GHKq+D5usaeCTRmI9Gkey X-Received: by 2002:a05:6830:4423:b0:6b9:1ee7:5289 with SMTP id q35-20020a056830442300b006b91ee75289mr2704380otv.10.1697545604457; Tue, 17 Oct 2023 05:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697545604; cv=none; d=google.com; s=arc-20160816; b=eCRYVUwwjWcaGKM3zXSV121QNPSw+sJJ+VMI4eeJx4jMEOkwLE9rVKm1xSZwtleZuc 6H7DeVc6gp9UVpmihKzco7w4yuMzOezmFRrAQzM1flNgeripCWZs8RWghwQhwl3nn9Uy WirdgJzwZUfaFzocd+iUhDQ0n5GCTMYvuhm/pABfvQaCVv5cvFbyjFEiXh5UXEtVGGHu L7Ytk2xreKgKVJxLZ6W9bCyvPB3kk1ImZEYNxGSokp8d4fEiu5wCLcPo4J637kJ14ssf LHGH+230eKDqpzrRNgkP6JY2QUNXzWl1Ywc9gvQnCmFmJswChTBy5qJUa8v4VCCrVpMz CvSA== 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=FM8H8CyP2F0VkgLerbm3eFuxIL5XboTdul+PCMmMYXE=; fh=eEE/QE/FNMnZQc1p9FUzG0kDOzjATCXtTlhZ+mxwv40=; b=bT0NY6WJXeN588hzKI8qliJvYLdLBQT+ph3WGJkz7zjJHKQM9AZdnE2+S0HOMht3js qd6/ST4usHKIfD5GJDdYIJCUlgoevLax/OHi+mksfPE8KNIeRCu0S/tp1Vn0k0a/L8lt ULZUFdirPQODVcV4NJ1cJZ0+hN2R+5G2Gl4D/Ihz+R9Fn52Kfjupgf4R1aIb2FPAaluI bJI4LAUH2cEbdTxxFI6f0yLA4/BmOO17SgqBQ2jfX8zm6aO5loRR6nc0eei2sfaOvUZU DSdRSyXTp1E7IEqdrenQ5XT0bWpOPAzN9Ar/W+nAxou3wmC8UX7BcX/fAYEojwMriugv PI3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gcTtGRdf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id g2-20020a056a0023c200b006be01b51af8si1587248pfc.33.2023.10.17.05.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:26:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gcTtGRdf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 65DDA80AB5B7; Tue, 17 Oct 2023 05:26:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235042AbjJQM0C (ORCPT + 99 others); Tue, 17 Oct 2023 08:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234909AbjJQMZ6 (ORCPT ); Tue, 17 Oct 2023 08:25:58 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6E910E; Tue, 17 Oct 2023 05:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697545556; x=1729081556; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qzWNPz+ZBf8GlExjCnXpGycOt5NK4c0obJu1ee4oKJo=; b=gcTtGRdfcFOhSmRz6RIMN/da/k8M0UB3B/2X+d5m54AN7rk9q1r6uLHh hfZ0ZD0HpEkTuDibAEwovIw5QN6dVAo3G9NR0vHW1u3HOx3r8dL5edHy0 2pCZ+FRrE42MMcZOMt7laq2skTZl1ofX2DNrfe1WTlK7oSM1mU6UgFqvV klNJ6IFmjaIASDp5UR1dWuDSlzLuLYqY8JwGCOgSWxEZXUxT6w8RUgTIA 2Ywowfd4yeqV0h78GPWnjm2OHh62s7Nfp7C9YWybjND2+3HEmZEK/+yhk iWdCsC2xoWjydnkL1oHeUNCV0ssBpIlJvSm+jCci/tkDsATVtKxNkTjDX g==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="366029429" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="366029429" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 05:25:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="749669238" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="749669238" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 17 Oct 2023 05:25:53 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qsj8w-0009aD-2i; Tue, 17 Oct 2023 12:25:50 +0000 Date: Tue, 17 Oct 2023 20:25:42 +0800 From: kernel test robot To: Muhammad Muzammil , james.smart@broadcom.com, dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: oe-kbuild-all@lists.linux.dev, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Muhammad Muzammil Subject: Re: [PATCH] drivers: scsi: lpfc: Fixed multiple typos in multiple files Message-ID: <202310172003.DMJaJSon-lkp@intel.com> References: <20231014115551.8607-1-m.muzzammilashraf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231014115551.8607-1-m.muzzammilashraf@gmail.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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:26:41 -0700 (PDT) Hi Muhammad, kernel test robot noticed the following build warnings: [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on jejb-scsi/for-next linus/master v6.6-rc6 next-20231017] [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/Muhammad-Muzammil/drivers-scsi-lpfc-Fixed-multiple-typos-in-multiple-files/20231017-132518 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next patch link: https://lore.kernel.org/r/20231014115551.8607-1-m.muzzammilashraf%40gmail.com patch subject: [PATCH] drivers: scsi: lpfc: Fixed multiple typos in multiple files config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20231017/202310172003.DMJaJSon-lkp@intel.com/config) compiler: powerpc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231017/202310172003.DMJaJSon-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/202310172003.DMJaJSon-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_idiag_cmd_get': drivers/scsi/lpfc/lpfc_debugfs.c:3155:1: error: expected expression before '.' token 3155 | . | ^ >> drivers/scsi/lpfc/lpfc_debugfs.c:3150:16: warning: variable 'bsize' set but not used [-Wunused-but-set-variable] 3150 | size_t bsize; | ^~~~~ vim +/bsize +3150 drivers/scsi/lpfc/lpfc_debugfs.c e2a0a9d69ce224c James Smart 2008-12-04 3119 2a622bfbe1d9566 James Smart 2011-02-16 3120 /* 86a80846a68eeb8 James Smart 2011-04-16 3121 * --------------------------------- 2a622bfbe1d9566 James Smart 2011-02-16 3122 * iDiag debugfs file access methods 86a80846a68eeb8 James Smart 2011-04-16 3123 * --------------------------------- 2a622bfbe1d9566 James Smart 2011-02-16 3124 * 86a80846a68eeb8 James Smart 2011-04-16 3125 * All access methods are through the proper SLI4 PCI function's debugfs 86a80846a68eeb8 James Smart 2011-04-16 3126 * iDiag directory: 2a622bfbe1d9566 James Smart 2011-02-16 3127 * 2a622bfbe1d9566 James Smart 2011-02-16 3128 * /sys/kernel/debug/lpfc/fn<#>/iDiag 2a622bfbe1d9566 James Smart 2011-02-16 3129 */ 2a622bfbe1d9566 James Smart 2011-02-16 3130 2a622bfbe1d9566 James Smart 2011-02-16 3131 /** 2a622bfbe1d9566 James Smart 2011-02-16 3132 * lpfc_idiag_cmd_get - Get and parse idiag debugfs comands from user space 2a622bfbe1d9566 James Smart 2011-02-16 3133 * @buf: The pointer to the user space buffer. 2a622bfbe1d9566 James Smart 2011-02-16 3134 * @nbytes: The number of bytes in the user space buffer. 2a622bfbe1d9566 James Smart 2011-02-16 3135 * @idiag_cmd: pointer to the idiag command struct. 2a622bfbe1d9566 James Smart 2011-02-16 3136 * 2a622bfbe1d9566 James Smart 2011-02-16 3137 * This routine reads data from debugfs user space buffer and parses the 2a622bfbe1d9566 James Smart 2011-02-16 3138 * buffer for getting the idiag command and arguments. The while space in 2a622bfbe1d9566 James Smart 2011-02-16 3139 * between the set of data is used as the parsing separator. 2a622bfbe1d9566 James Smart 2011-02-16 3140 * 2a622bfbe1d9566 James Smart 2011-02-16 3141 * This routine returns 0 when successful, it returns proper error code 2a622bfbe1d9566 James Smart 2011-02-16 3142 * back to the user space in error conditions. 2a622bfbe1d9566 James Smart 2011-02-16 3143 */ 2a622bfbe1d9566 James Smart 2011-02-16 3144 static int lpfc_idiag_cmd_get(const char __user *buf, size_t nbytes, 2a622bfbe1d9566 James Smart 2011-02-16 3145 struct lpfc_idiag_cmd *idiag_cmd) 2a622bfbe1d9566 James Smart 2011-02-16 3146 { 2a622bfbe1d9566 James Smart 2011-02-16 3147 char mybuf[64]; 2a622bfbe1d9566 James Smart 2011-02-16 3148 char *pbuf, *step_str; b11d48e898de3cb Stephen Boyd 2011-05-12 3149 int i; b11d48e898de3cb Stephen Boyd 2011-05-12 @3150 size_t bsize; 2a622bfbe1d9566 James Smart 2011-02-16 3151 2a622bfbe1d9566 James Smart 2011-02-16 3152 memset(mybuf, 0, sizeof(mybuf)); 2a622bfbe1d9566 James Smart 2011-02-16 3153 memset(idiag_cmd, 0, sizeof(*idiag_cmd)); 2a622bfbe1d9566 James Smart 2011-02-16 3154 bsize = min(nbytes, (sizeof(mybuf)-1)); 46758a53dff3da8 Muhammad Muzammil 2023-10-14 3155 . 2a622bfbe1d9566 James Smart 2011-02-16 3156 if (copy_from_user(mybuf, buf, bsize)) 2a622bfbe1d9566 James Smart 2011-02-16 3157 return -EFAULT; 2a622bfbe1d9566 James Smart 2011-02-16 3158 pbuf = &mybuf[0]; 2a622bfbe1d9566 James Smart 2011-02-16 3159 step_str = strsep(&pbuf, "\t "); 2a622bfbe1d9566 James Smart 2011-02-16 3160 2a622bfbe1d9566 James Smart 2011-02-16 3161 /* The opcode must present */ 2a622bfbe1d9566 James Smart 2011-02-16 3162 if (!step_str) 2a622bfbe1d9566 James Smart 2011-02-16 3163 return -EINVAL; 2a622bfbe1d9566 James Smart 2011-02-16 3164 2a622bfbe1d9566 James Smart 2011-02-16 3165 idiag_cmd->opcode = simple_strtol(step_str, NULL, 0); 2a622bfbe1d9566 James Smart 2011-02-16 3166 if (idiag_cmd->opcode == 0) 2a622bfbe1d9566 James Smart 2011-02-16 3167 return -EINVAL; 2a622bfbe1d9566 James Smart 2011-02-16 3168 2a622bfbe1d9566 James Smart 2011-02-16 3169 for (i = 0; i < LPFC_IDIAG_CMD_DATA_SIZE; i++) { 2a622bfbe1d9566 James Smart 2011-02-16 3170 step_str = strsep(&pbuf, "\t "); 2a622bfbe1d9566 James Smart 2011-02-16 3171 if (!step_str) 86a80846a68eeb8 James Smart 2011-04-16 3172 return i; 2a622bfbe1d9566 James Smart 2011-02-16 3173 idiag_cmd->data[i] = simple_strtol(step_str, NULL, 0); 2a622bfbe1d9566 James Smart 2011-02-16 3174 } 86a80846a68eeb8 James Smart 2011-04-16 3175 return i; 2a622bfbe1d9566 James Smart 2011-02-16 3176 } 2a622bfbe1d9566 James Smart 2011-02-16 3177 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki