Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp310969rwl; Tue, 11 Apr 2023 19:06:44 -0700 (PDT) X-Google-Smtp-Source: AKy350bS5B5sUlTcc8XL2EkebnPxGborZUuph4iPVF6sd+qemsK/bOm19UxUpkP6Fz8U0xa1nRBE X-Received: by 2002:a17:903:22d1:b0:1a6:386f:39a3 with SMTP id y17-20020a17090322d100b001a6386f39a3mr13017049plg.31.1681265204106; Tue, 11 Apr 2023 19:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681265204; cv=none; d=google.com; s=arc-20160816; b=ENHty00Q40+AFbUEBpzLpFOeTXad8HsdrkKDgMWpKPXlYsMSN5iMF+KX5+HSWxKo/r p/X2MkPRNwd6Ba3A2qtLKF2yra8H9SsblBqePe1znGTVgXaCImR6L2skong+awen2MTR sFCqeGS77i6qbv559JXJdaq18/TA07l7ac6APOYkXczbRNZbdHBhbsM/6XFx1Kzz1Mrl f89wI1mJAJUgz0XKIKX0rsYm4vpemKWjr6T8QN38XOs9j5j4iYmNom8if2EBQc/SAdVp +HgnLYrDzgUflJQwoXhOxJEqq6Mp75YsHI0MOLxiKaeJ320KJsHB7pZ4WIJmOU3hchJk BLNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SUluKX6kMH5F8rxXKuyyOiRlFa+0Og0Y3g87pm6MptE=; b=cxZFQMmjpApcg3r6GkPC3Zn5WCwybDr+jLL8mC3hhoWnPjjnOWW1uDdifY+LI0wlsQ 2/AZiHUqITifcC7Hy8zcRfgPvWLTrF+A8/sm9LnaD6neqR1wubSlcSb4oTT/Q24LXf/1 TUvzY9xjzN8cd3WYvk/j/FiCK1+NrW3LgwELlExo41iNHr/JbvdKij4nrLnXXoy4odh+ dQt4w+o+/iSLtXhOayiyDCvg+HwYObSLM/TP7hGATb56Iodvw2DO4XrOcdqx5Oztgdcw 7dfsaRiNX/P/3+bl8GFUGn0NBSGXRWGvsBoSh92m/iZbzzgPSjSHtdOXme0x0nwkgKBB rrsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=qsM3YOUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a170903234c00b0019ed069f0a6si15983141plh.524.2023.04.11.19.06.32; Tue, 11 Apr 2023 19:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=qsM3YOUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbjDLCFa (ORCPT + 99 others); Tue, 11 Apr 2023 22:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbjDLCFX (ORCPT ); Tue, 11 Apr 2023 22:05:23 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198835246; Tue, 11 Apr 2023 19:05:19 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33BLLCUE005453; Wed, 12 Apr 2023 02:05:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2023-03-30; bh=SUluKX6kMH5F8rxXKuyyOiRlFa+0Og0Y3g87pm6MptE=; b=qsM3YOUamIssOk2UP6D3lQRzRBqpA1m8HZqhxaCU6NlhlreYAIPOYwMGXuM6418qNsSf vc8Sn8mJ8o3PtQyw00zpM0vB2rWFRY9IQ7qbsf0taq4d/DSuWhH3/GxovK1omCMvWJ72 ZOsQJnrAvetelvXW+6qaCOXiT8GMC/MCf50CqlE5SelWuXA/uZi8mmAkGjjcsLulDDni 10e9f1QNFPJ3g7RpTzlIdlRA0/qofDPh6wJjCDPmDCJayvhomcxcOP8ws5+tWYrixcZi 8AyE4CpUhfqMDlzcS+rDhqKiyrBt9vQYvaHx23yDGis9172mk14CPU7SlGnVYpq8PomD +A== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pu0e7evcq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Apr 2023 02:05:03 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33BNhQ2G008117; Wed, 12 Apr 2023 02:05:03 GMT Received: from pps.reinject (localhost [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3puwc54tvv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Apr 2023 02:05:03 +0000 Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33C24xec031283; Wed, 12 Apr 2023 02:05:02 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTP id 3puwc54tqc-9; Wed, 12 Apr 2023 02:05:02 +0000 From: "Martin K. Petersen" To: nathan@kernel.org, ndesaulniers@google.com, Tom Rix Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] scsi: target: core: remove unused prod_len variable Date: Tue, 11 Apr 2023 22:04:49 -0400 Message-Id: <168126077050.185856.6929741169277283722.b4-ty@oracle.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329132421.1809362-1-trix@redhat.com> References: <20230329132421.1809362-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-11_16,2023-04-11_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 phishscore=0 mlxlogscore=816 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304120016 X-Proofpoint-ORIG-GUID: Bzr9rLvJ9Uc6Adx10VyXJuCcXBuhzbJA X-Proofpoint-GUID: Bzr9rLvJ9Uc6Adx10VyXJuCcXBuhzbJA X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 On Wed, 29 Mar 2023 09:24:21 -0400, Tom Rix wrote: > clang with W=1 reports > drivers/target/target_core_spc.c:229:6: error: variable > 'prod_len' set but not used [-Werror,-Wunused-but-set-variable] > u32 prod_len; > ^ > This variable is not used so remove it. > > [...] Applied to 6.4/scsi-queue, thanks! [1/1] scsi: target: core: remove unused prod_len variable https://git.kernel.org/mkp/scsi/c/aa4d7812cf2c -- Martin K. Petersen Oracle Linux Engineering