Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp310333rwl; Tue, 11 Apr 2023 19:06:01 -0700 (PDT) X-Google-Smtp-Source: AKy350YLU6sbW62VoQyrP9W1h7dW9W6O4bGL7h0TiWPaV9YbJGBhF+bqH74miVtkc+X79KNwtyug X-Received: by 2002:aa7:9556:0:b0:638:1cb7:6fbc with SMTP id w22-20020aa79556000000b006381cb76fbcmr4734174pfq.31.1681265161231; Tue, 11 Apr 2023 19:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681265161; cv=none; d=google.com; s=arc-20160816; b=FYT11mSPVRxo3ErSns2m80LJjAXXXntFlgpdBf+XpUUK/lYDOnkGzXAxGldgZbHNvs 0vSDevGnApE8EnyI8qrLy+nnTg6bfONgmYOtwbjCkMEvtHr34qN84tkFxLZR8HrSoE9R yFpBV9b9KFZKwQ6d7nmrB/9+k+fi3OSQyUIJdetQoi0wHbTrHMdsfkd/O+RIzhSGHDNY 2mAxWiYiyaShXeITsZXhAHx+i4sjjh1CSUP/eMQW/ZmdMaH6y6cQcTUtCPNa1uxwdRzz 1OBx8LvsSPELpbs9ye8W5HBwm211PgHQtZ0gHQndsE57mb4YdL2ofSb3PmUuurupz0p4 AnFA== 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=2+ihPilp9VMQVD9HwQSk2edxd+QQ04PmBtLwXvbpOOI=; b=LBowl/Nfho67DBBki0AaacBNk8rqAiWWuTaQ6bPHwhlMjiNyO5L8GJXiy13RWbEM4+ 8i3y2vsrhuxzhgWMNnFFmG7Ywc5qOTcaL2ntynUL7PN1oXyBt/VMn06jf7lH7t8PpWtY HlAh326aOy7F7EJzYBr1Fx+2CihXPcC8oH2X6C9lj0MKJIra3qBczjqd6cbo5AIzg+ra AMd3xbmNlLqqeXL+ORK77/pLB2HvFyXDQZBfEX5IwPF7Gp94XuxTpUYq1iOUlCfRQdXa VPEmmikmWkg219f4PRwF37np4WwceXK+XYRdJt8BL4T9SUwJBHTZksz40bvRXKxCFmEq tMOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=o+xpopAH; 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 g130-20020a636b88000000b0050faafb6a11si13924176pgc.807.2023.04.11.19.05.49; Tue, 11 Apr 2023 19:06:01 -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=o+xpopAH; 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 S229777AbjDLCF0 (ORCPT + 99 others); Tue, 11 Apr 2023 22:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbjDLCFW (ORCPT ); Tue, 11 Apr 2023 22:05:22 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ABA95245; Tue, 11 Apr 2023 19:05:18 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33BLdmJQ017685; 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=2+ihPilp9VMQVD9HwQSk2edxd+QQ04PmBtLwXvbpOOI=; b=o+xpopAHU2tsxAZPww0NISu+SFBtjsrC8l0OoV9e8aob4Giy8JhBpdBBmdv9vM41TZRE i4+PSGaOkdzRxANQahhwJe0o1cQmZNA0IuYOtmkoZVmHNlnopjt3NzCury9W/e6K6Xw4 A/JiYq/MzaQ2dMogtu1I6f7w/izPqcGEMD66RJWwDTQ6GtpAv0kNy3phg7fFN/tciIkH q7+lL51vaS9ENblpCg2W6OTiqEPV+w54N2TLE0fZEwCHDBsgnWr/62edcoeRK5W+DK4E TgvBK8MuhsB3hFh1NPTb39Lqd9CfZvlcC3ePEt0pJu2MKw6Kg4FCjBKZKFp1pA63bkM9 EA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pu0bvxy1a-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 33BNh7kt008112; Wed, 12 Apr 2023 02:05:02 GMT Received: from pps.reinject (localhost [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3puwc54tus-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Apr 2023 02:05:02 +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 33C24xeY031283; Wed, 12 Apr 2023 02:05:01 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-7; Wed, 12 Apr 2023 02:05:01 +0000 From: "Martin K. Petersen" To: jejb@linux.ibm.com, nathan@kernel.org, ndesaulniers@google.com, Tom Rix Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] scsi: scsi_transport_fc: remove unused desc_cnt variable Date: Tue, 11 Apr 2023 22:04:47 -0400 Message-Id: <168126077051.185856.10735162740064848274.b4-ty@oracle.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230326003222.1343671-1-trix@redhat.com> References: <20230326003222.1343671-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=887 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304120016 X-Proofpoint-GUID: wMQuWdX83G2WzxbDCCT9bDZK9dNPfzec X-Proofpoint-ORIG-GUID: wMQuWdX83G2WzxbDCCT9bDZK9dNPfzec 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 Sat, 25 Mar 2023 20:32:22 -0400, Tom Rix wrote: > clang with W=1 reports > drivers/scsi/scsi_transport_fc.c:908:6: error: variable > 'desc_cnt' set but not used [-Werror,-Wunused-but-set-variable] > u32 desc_cnt = 0, bytes_remain; > ^ > This variable is not used so remove it. > > [...] Applied to 6.4/scsi-queue, thanks! [1/1] scsi: scsi_transport_fc: remove unused desc_cnt variable https://git.kernel.org/mkp/scsi/c/e324dd00fd17 -- Martin K. Petersen Oracle Linux Engineering