Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1144133pxf; Fri, 9 Apr 2021 00:45:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKHUxN7XHIi3aliFXbed0WGlrifVELLA2degQc2fTYNC7+QLzsOrEUdU9fmC5UFLXs9wBx X-Received: by 2002:a17:907:76b3:: with SMTP id jw19mr14623620ejc.202.1617954301633; Fri, 09 Apr 2021 00:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617954301; cv=none; d=google.com; s=arc-20160816; b=oHkumf5TRSiRxb6sSt/c+5JEuvjT7rWjsiWxuaUcgMbZ/35G1uHYIeygs63Gux87Xk QuV9pxq0A7wJ426jtN9RkzP4oQTJ1QE2X6nZ7MaIJWXBMxrIAoYrNbLaVs/Bfl9OaW6R wn4WrGOKcExr3L4UJuHqQvQYj8KYJU7/6VMl2p0BR4XbvLhZAF4IIxXRUwpU/HLGBb7M BrKcbtM98oNRsyeNizatEGDPqXfOKgH3Wqd6fHWAYL9NXoqEFwglDtPUJ09fE42AICog 3Duh4XYHRTf8yCpT0FPyhrY0ixalIsxTfsZ752N2pZEi+pV95uSUzfmekkS7VnAwm+dD 43lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=lBIuI0IPIG0tqQ2R1deHRETQaTs9jGsCKm26UPFx2S8=; b=FwFvtsmWwJimlf/M5tAghYG6uWkdMPU96ZbZd+dohpfdkaLE1g9cJ0q7lYmnmikYBB 0ZpPnwt2PS5GZpGlpc6KKpvnoIlPdJxNw7pxjzsWkAzwERhlksIzoWDI+d13FWah8KTN S/k8znBO057VoUNTzgI7N51oW9EG3LyW0xcw2wMw1eALwVMT17clploADitMK3T3MrpM sKKv5f5OAeysLU+gsXKnl5RzJMgC/MDZ1f2Sodd7094UyL93wUDLDWmG7r/ubOAvP/YO lfXG0tHqkdQej3sxLg52Ya8ZNaDBu1GXfP9lWb5pQuUZkY0c0RFUNZo1GJhyDtLEWUyy CqBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QPeB6UYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si1495454ejr.458.2021.04.09.00.44.39; Fri, 09 Apr 2021 00:45:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QPeB6UYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231686AbhDIHmv (ORCPT + 99 others); Fri, 9 Apr 2021 03:42:51 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:35608 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbhDIHmu (ORCPT ); Fri, 9 Apr 2021 03:42:50 -0400 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1397fcsY013416; Fri, 9 Apr 2021 09:42:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=lBIuI0IPIG0tqQ2R1deHRETQaTs9jGsCKm26UPFx2S8=; b=QPeB6UYsSP0FyvDqQhnUBlDgwVqFsuU6/njkpkzG5xj0Vh1vvCDevZlo6E4KP23a1mwi E9SCxgm2W/O6/7cUSzgnQPjbBwvAlJi6DhztA2fwLlS0hfl1xXncHCxkGfThckanzJl2 RQxZzWxVupUiEast9xkq9x7rP2ZwWSgwQvndJSg5vq7qn9yGvDubLMyX2iAzozRHM/Ni XajOjOu5WZ6CSZu++m82/zu53CkGIBu4N7M9HC7DZVjI1/gSGMIVFLNCIaJ/1Yxg6QJF e4DPa5m5h8zXYE4BLmQPcYwjH7ErOOX3nPjb8bKnRdyGkxbRriuy5F8iDm5BeJU7+Efe qw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 37sw5yxw6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Apr 2021 09:42:05 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 55AB9100038; Fri, 9 Apr 2021 09:42:04 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 42FC521CA9E; Fri, 9 Apr 2021 09:42:04 +0200 (CEST) Received: from lmecxl0573.lme.st.com (10.75.127.51) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 9 Apr 2021 09:42:03 +0200 Subject: Re: [PATCH -next] mmc: sdhci-st: Remove unnecessary error log To: Laibin Qiu , , , CC: , , References: <20210409023801.3326572-1-qiulaibin@huawei.com> From: Patrice CHOTARD Message-ID: <39dd50a7-6e85-49e4-8072-e88fcc471714@foss.st.com> Date: Fri, 9 Apr 2021 09:42:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210409023801.3326572-1-qiulaibin@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-09_04:2021-04-08,2021-04-09 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laibin On 4/9/21 4:38 AM, Laibin Qiu wrote: > devm_ioremap_resource() has recorded error log, so it's > unnecessary to record log again. > > Reported-by: Hulk Robot > Signed-off-by: Laibin Qiu > --- > drivers/mmc/host/sdhci-st.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c > index 78941ac3a1d6..d41582c21aa3 100644 > --- a/drivers/mmc/host/sdhci-st.c > +++ b/drivers/mmc/host/sdhci-st.c > @@ -400,10 +400,8 @@ static int sdhci_st_probe(struct platform_device *pdev) > res = platform_get_resource_byname(pdev, IORESOURCE_MEM, > "top-mmc-delay"); > pdata->top_ioaddr = devm_ioremap_resource(&pdev->dev, res); > - if (IS_ERR(pdata->top_ioaddr)) { > - dev_warn(&pdev->dev, "FlashSS Top Dly registers not available"); > + if (IS_ERR(pdata->top_ioaddr)) > pdata->top_ioaddr = NULL; > - } > > pltfm_host->clk = clk; > pdata->icnclk = icnclk; > Reviewed-by: Patrice Chotard Thanks Patrice