Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5757656rdb; Wed, 13 Dec 2023 20:29:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHj8C2yMlahdUi2Ot0Inomza4xUdv0KiigSLqkhiw8Wiq3nOta3CpHy3LtaGnNqAuqRjLvG X-Received: by 2002:a05:6a20:394a:b0:190:628e:bfe7 with SMTP id r10-20020a056a20394a00b00190628ebfe7mr12226269pzg.95.1702528188565; Wed, 13 Dec 2023 20:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702528188; cv=none; d=google.com; s=arc-20160816; b=u80+t/ucoljoJrgrXZz0ta+5Mcf1vKRmv+ZSHrJASRGwUEnR064GaN8VBQIFHcMgzU /l6OPSRGwh4Od7y6eCbtiyKnnmZ/NNgaGJdzx7WAumv4WmE+uLbJRu9uiZZ9JIVg4DjW pSjt1DcbDBwXsDqYEEqryRiOWpyysgzPkA13+6izf/FNI0w5yN/BblY7uwzsgqhhnsKZ Qk7k0D64AhGYIemJe/Gk/B9QIVJXGtdqtVscTvgqETYIxwpcdxAh8l4MQgZIMJHZdeH9 I/ujvVhAsnGEbeGTdbbik6644uxbxzWIq3Ndv98V6ZYyBVywWVxpvnTIzIRsr84/OdrK qsNA== 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=0X3+fdRFzvEhD957wPV3grzj5bB7Y6RcxFvRN/wYaRQ=; fh=ffJRuTW5APStV+cbfyOkUpbpY3ni2haQfO/2XBxLDgM=; b=SxMLoLtEiGtXDg0MMf4CGC5RIJ0jhnj1cR+S9Ay45XYIFnMVixPH1NyBtMcEaDh7Kl ZFoiaEvqeNv12wPw6bjzjl+xCHTRFcRFOc4hsCPSEZKhyMgYKg1Frbo+U1T+s8FOP/rq xyCWL6pwCI+Q9A5apKFQxrnsue5y0crS2HDLRNqayKX+EaCGRCd8rV9/TPkXX5MLjsxg MOgLdkq6t4WSZGDUwnwtawiMCEOP8hHNkBZL1BxIJUsw0WKkkch9E/E3Sm8fB4MOo+db rR4z9kWAbQGVu/MIYEwW4Qm26oDfBdq0aHmmdJKheafaJD23Zh6t7ZMbs6C7XR+bsvea y8fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=bfVV1zXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q16-20020a17090311d000b001b8922e82e3si10681660plh.297.2023.12.13.20.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 20:29:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=bfVV1zXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 49025802C6B9; Wed, 13 Dec 2023 20:29:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443131AbjLNE3f (ORCPT + 99 others); Wed, 13 Dec 2023 23:29:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443130AbjLNE3b (ORCPT ); Wed, 13 Dec 2023 23:29:31 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 626F9B9; Wed, 13 Dec 2023 20:29:36 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BE0S5Bn004524; Thu, 14 Dec 2023 04:29:27 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-11-20; bh=0X3+fdRFzvEhD957wPV3grzj5bB7Y6RcxFvRN/wYaRQ=; b=bfVV1zXrAZKMKizAxVCWzMh8k4ruUmpQovhN8b7OQVLO67SbVNvPWqyeGyFjsy21AnbJ jEwamSjFyPqYi4oegjmUM+WdV2OUHetLTulVjzbvs2/dI8AdHuY45fhTw7cwVNQnEDvJ LzK6v3JGkwTFBoPnxJ6p/bnqAV6Bvw/iZ/oil2LHR6ZzSuXdWOoFnN0fWOGrnC4kstNo pZmz95TUrvI1Qm2e+6kscVroDhZE9DxY7lJsXQYkrNyT+qrKWusb7a6uAQaKxREkiqWo yelG0vBB1goJD9hserSYIZNvpp8koegpPN5Q9DieiaF3G6h/fzpPR6SjPr1H4xpn8sgG gg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uvg9d9x66-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 04:29:27 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3BE38M5m009842; Thu, 14 Dec 2023 04:29:26 GMT Received: from pps.reinject (localhost [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uvep9ev0y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 04:29:26 +0000 Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BE4TQM4035965; Thu, 14 Dec 2023 04:29:26 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTP id 3uvep9ev0g-1; Thu, 14 Dec 2023 04:29:26 +0000 From: "Martin K. Petersen" To: Satish Kharat , Sesidhar Baddela , Artem Chernyshev Cc: "Martin K . Petersen" , Karan Tilak Kumar , "James E . J . Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] scsi: fnic: return error if vmalloc failed Date: Wed, 13 Dec 2023 23:29:06 -0500 Message-ID: <170205513086.1790765.12387126447114972285.b4-ty@oracle.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231128111008.2280507-1-artem.chernyshev@red-soft.ru> References: <20231128111008.2280507-1-artem.chernyshev@red-soft.ru> 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.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-14_01,2023-12-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 malwarescore=0 spamscore=0 mlxlogscore=688 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312140024 X-Proofpoint-GUID: wXUn-rRvv0VGWEDUitwVoxsxs_3NAc99 X-Proofpoint-ORIG-GUID: wXUn-rRvv0VGWEDUitwVoxsxs_3NAc99 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 20:29:47 -0800 (PST) On Tue, 28 Nov 2023 14:10:08 +0300, Artem Chernyshev wrote: > In fnic_init_module() exists redundant check for return value > from fnic_debugfs_init(), because at moment it only can > return zero. It make sense to process theoretical vmalloc failure. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > > [...] Applied to 6.8/scsi-queue, thanks! [1/1] scsi: fnic: return error if vmalloc failed https://git.kernel.org/mkp/scsi/c/f5f27a332a14 -- Martin K. Petersen Oracle Linux Engineering