Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4079438rdb; Thu, 28 Dec 2023 09:20:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCKFWfdks01YyOvCcDTsaywz1SC4whKFp1bdCkz5YWOntozgVIH1vd9l+jjyPKLN5MkqfA X-Received: by 2002:a17:902:c40e:b0:1d4:59c1:cabc with SMTP id k14-20020a170902c40e00b001d459c1cabcmr3213712plk.75.1703784044736; Thu, 28 Dec 2023 09:20:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703784044; cv=none; d=google.com; s=arc-20160816; b=G9ZoYnYJOxXmpMZSloy9A5D7AdwRFVXiHWlIWLx2OSYgRhZX86u18fCsp/5fUJFxDa skdQAD0SpItbEGDMKrGLtIenGPPpXb2YyYUcsOQWDsaSlEanR3lCp8qzHLW8gC+MGGDo m5vxwaq+aVrGuhrB//GjVFCdjxFO4pVb+Oa2vO/ZHcy2J0g8dOnnjDnO9vaamZ/GgayO E2R4vfuLxFoNbGRrkERfqPZFYJqYU8OOCkkyq2CqgBIXDb00qBxrNX0H0N0A5KYG7nPP 9Q4EUJ535rBVgqCzjXfWvFhgEEYfHc2Mj+ZK6UTGKkPmUwzAFET9+yUmlaSqY/VorIU4 pq3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:subject:from:cc :content-language:to:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=QI+tWIiYMPniaWIeMnnTKnCmlARSlAWgVRKuTlPjSDM=; fh=UF3DLcBgV+qVMrcMwsk5goUAvcQPQpxbgR5Yw1H6KJk=; b=Qn4z89Ar3pxw/HfDO4TlMNJ++hR9QmrLB5NMBzaVlQTlIFq/sLEOfDMi5JoVOY7ea9 +QCcZgHnvqk1S16JDUpg0xAo99s5hpRuCcbsWNGYbHrza1/3w3NSMrMXtVHmFQAs5XD9 hi2EOOJnPN8tU4BCQTAVADs0qQA+1Zxd3cL9AK9J5B+p3Oi2POatnHf61gfGPcUDpvS3 LszHPJYiKM/sBjmeL0GOXmiiB7gmOHARJc7NBbHINfzn2hRKMIGSPKnDgHGk71UARTy5 KMNnis6PJQt8uAKbEhBrvdRc8D+ueA/atsuwusXwiNl018AkEhvacB0DzczCyc+yJtKa lG6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=f0EZc7ey; spf=pass (google.com: domain of linux-kernel+bounces-12809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q12-20020a170902dacc00b001d42c9339d6si10421775plx.393.2023.12.28.09.20.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 09:20:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=f0EZc7ey; spf=pass (google.com: domain of linux-kernel+bounces-12809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 69856282BBC for ; Thu, 28 Dec 2023 17:20:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89F23101C1; Thu, 28 Dec 2023 17:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="f0EZc7ey" X-Original-To: linux-kernel@vger.kernel.org Received: from mout.web.de (mout.web.de [217.72.192.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21D8BF9C1; Thu, 28 Dec 2023 17:20:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1703784019; x=1704388819; i=markus.elfring@web.de; bh=2urlG1UjR0tpfga8xw3ZUqweTdSjOyd7FFrGW2jHX2E=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=f0EZc7ey/rLunFcUa42I4aR3muIIkSVjuiMqNwVsXvmiU6AxoP7U+/WbcWmW0QrI jXZkiMN7p86fKocVjFdOtbKELEVdSKWRwi9c8eOrrAK+Yxdc1Zkt5ft0pUu7c4peY I9+g60qDNNsGlL35j9eGnQGVlZd4HcAKTTAx48Z4QryIgj+T4gXtpdlK8y+F3hqSN 3XaWKrZAxT+xb5PLBIvRua74ntWH0yD1w8AMjsMbQL6ykEdJcl2wmMsyhje7GEq7b sDvVFkoFBwncXMecakCJ5mE5s7NgaOT/JcOu84YZYP8cXyxDGMBQNZeVyJn5T7iM0 kQrWbYDookH3mA+XjA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M1rTG-1rGh8F25rk-002kEy; Thu, 28 Dec 2023 18:20:19 +0100 Message-ID: <48a127e8-ca4f-4fc4-81b7-226080fba720@web.de> Date: Thu, 28 Dec 2023 18:20:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, Dick Kennedy , James Smart , "James E. J. Bottomley" , "Martin K. Petersen" Content-Language: en-GB Cc: LKML From: Markus Elfring Subject: [PATCH 0/4] scsi: lpfc: Adjustments for two function implementations Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:kebKLcoex0ts5glfrT77uO30AG88524gwKOMZf4pxKc6ph+Ca57 dKMI3Hy+UxsnCyEJxEQxLO7Xp7j4vRTEweev46aqhB+eZZdv//cE2Mx1Mt+CC18FwhzvBAx uBVSzes3ipZBOFiSn528PH/5M0Lm8QZhcZHhaSb28vehKKFBw77/Kdj3ntP/i4PnGuyLVl/ X13BWMRJxOEsstoW8tDmQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:hsI3YWB7Y8U=;TPdEReWVwAhlIoIJUBGOhRvNyAg LCPjC0omoSe7xKbla2Wq7NJ/xWJQ42BIcPBWYwGuzSQ0nzkQXpvOV0kitOwgCU/W80h3FS829 AjHSmVXMR15gPD65vjTMwwQUQoesKtWKxGg+opdwyoYkUtqXLsruPWY+efWIWKc2UGiNQYQtg ZqFJ+IA3zQ1tEG7mVlX5QYtrNKOq8AhzYPOtnqWw3bCg3aRRJoI5lp9Q7okGWd8sqENiT9VIo uRVIZx4usUo33/8rp+OLbh5IbR0HqVxQ9s+00GSRSuGIBKzn49SgHmA4a9dCU/sKNae1bwal8 bBj01+RgCL/mL/JyrOrfCQb6y0witgT/G25dGLMKHgtyel5r7ZnKwKTpN9SYq5h7t54TpxS5t z1TmbiiEL/sZd1rOFiawzz2+vcznqM+yjwWLiZJRi4dmBJgTUPbiXdeA0hXe8v3x9W4GJgs0Y uCIaLXPNjMRrw9SSZRSp546VKzvs0AzT1upb3UaUiP5VBV1wj3Zp82zNbsBIwMzWmstyjuI2N qzmOMRobX0U/sTqTEBgd1h/64u1j72WFfXTeZWRA3IZWn2CrFRhVhh8fjdIOwGYHz74hdz0hx YZt/e5mex75KYWzaJpNmjQTpyX7fanoztyZmztAKgTfKH3lBMhc00WtTBF3CPjjHpyyj4vFpN WujU7B+rSyEznTc0CS9bncQI7GCHR1KQaxwNw10l7x108RG8ayTvikt9f1aZtjMlmBPPpOypG dl+EmYIx7bhHmaPAKDzMBLKosCQWdGq/MvIRZ/dXoAwz5Po9rmbHiCXC2KulQbyVgiTQRb6b+ KeJjqKfNQXIEqvFq2BXpTNFP7FRdpe+MZdGB3L9ZNG85A7muUtsTqcpnQTlrA1rx9UUhqVeta 6PUq/HMJL0gFtsrgJA22E0niL1F1711IHbyNy04/9SQ4WTcQULJ1La6N5jNhMny0h5OJwXxAq 6uq/MZ4M5pqIC+Ulm1GbdjASAl8= From: Markus Elfring Date: Thu, 28 Dec 2023 18:12:34 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Improve exception handling in lpfc_rcv_plogi() Return directly after a failed kzalloc() in lpfc_sli_read_link_ste() Delete an unnecessary return statement in lpfc_sli_read_link_ste() Delete an unnecessary variable initialisation in lpfc_sli_read_link_ste(= ) drivers/scsi/lpfc/lpfc_nportdisc.c | 18 +++++++----------- drivers/scsi/lpfc/lpfc_sli.c | 5 ++--- 2 files changed, 9 insertions(+), 14 deletions(-) =2D- 2.43.0