From patchwork Wed Jun 16 06:37:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 461369 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp313058jae; Tue, 15 Jun 2021 23:38:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNd3gOb8e3xzNvMIrN3+ikmEvvRo3v/naQNR61IY8BiqsiLgXWvvamFBTFRFM/CRfGP07f X-Received: by 2002:aa7:cfd7:: with SMTP id r23mr2267195edy.300.1623825491684; Tue, 15 Jun 2021 23:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623825491; cv=none; d=google.com; s=arc-20160816; b=c+R9nFks1YGcKFTTTag6JX8uuFoI1qkk362vYICyVodh9V1t8957HY0Jvan/EhsLBg T8SvjFKlm9BGkdpq6DbVAGw08wLDQbUTcxlM6SDQqtLJcWOGeKHaBdGQgJmoKEuyGjGl dFvS2xPKfeY7+zh78DVd+yuP76w6ck6DKQUOUCDSDF7nmcmBQwOy33AylIB785vzI3OU /SvXpy/zcUNF29WOrjTcNCeBe2RxdQcugTh2qeAytc7Xc0XxxooDNIDoS36788qu7J1l xNHgaEsXbVPW8wof2zMF5rtlwH14OrhCwqABjsFHfLcG0xUGv8FjMNFmzJPjbwdv5EQV bV3w== 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; bh=b2iOjpa3wbKBysv1SbfCaTIkTxfp0hTUwmtaiz+WBdo=; b=tjcB5uQm4xg6LS1xhBpWAfCKraLw4ChBoMMSMZm2FkgqErDLPn0/9dI4aKM2keBX8n pe9qt+McbHqHTU//Gu80iimEi1/ZsJam10x5pMqrNB7j3LnkRUsnkzcpXS2Jmnvun9w+ HZYBbC/Zd5+6qRxJEuQKh01EePUjJI9rFjXiPu78e8nVhUr4qUTsLxoEXIcUR2BBbTfB cKla+UGpMy3Unlvw32a5VKwpKMNQlxXGli5afbq20wO5XBOdWfc+9FtpKK76SVCOoB6A j0CvrG+Z15mCjdDu5uSZWmAWPFJepw5u2gO8WERerNSkVrXR/7Fbvbee9uJpIGCiICHz tAQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si1386040edb.194.2021.06.15.23.38.11 for ; Tue, 15 Jun 2021 23:38:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231617AbhFPGkQ (ORCPT ); Wed, 16 Jun 2021 02:40:16 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:7290 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231570AbhFPGkM (ORCPT ); Wed, 16 Jun 2021 02:40:12 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4G4b3L4QFKz1BN4J; Wed, 16 Jun 2021 14:33:02 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 16 Jun 2021 14:38:03 +0800 Received: from thunder-town.china.huawei.com (10.174.179.0) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 16 Jun 2021 14:38:02 +0800 From: Zhen Lei To: Vishal Bhakta , VMware PV-Drivers , Karan Tilak Kumar , "Sesidhar Baddela" , Nilesh Javali , GR-QLogic-Storage-Upstream , "Adaptec OEM Raid Solutions" , Brian King , Satish Kharat , Hannes Reinecke , "Manish Rangankar" , Adam Radford , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi CC: Zhen Lei Subject: [PATCH v2 16/20] scsi: bnx2i: remove unnecessary oom message Date: Wed, 16 Jun 2021 14:37:10 +0800 Message-ID: <20210616063714.778-17-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210616063714.778-1-thunder.leizhen@huawei.com> References: <20210616063714.778-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.179.0] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Signed-off-by: Zhen Lei --- drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 -- 1 file changed, 2 deletions(-) -- 2.26.0.106.g9fadedd diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 1b5f3e143f0710b..a66ca1ebba15f01 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -529,7 +529,6 @@ static int bnx2i_setup_mp_bdt(struct bnx2i_hba *hba) hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, &hba->mp_bd_dma, GFP_KERNEL); if (!hba->mp_bd_tbl) { - printk(KERN_ERR "unable to allocate Middle Path BDT\n"); rc = -1; goto out; } @@ -538,7 +537,6 @@ static int bnx2i_setup_mp_bdt(struct bnx2i_hba *hba) CNIC_PAGE_SIZE, &hba->dummy_buf_dma, GFP_KERNEL); if (!hba->dummy_buffer) { - printk(KERN_ERR "unable to alloc Middle Path Dummy Buffer\n"); dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, hba->mp_bd_tbl, hba->mp_bd_dma); hba->mp_bd_tbl = NULL;