Linux-ide Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] ata: libahci_platform: remove redundant dev_err message
@ 2019-07-16  9:54 Ding Xiang
  2019-07-16 14:14 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Ding Xiang @ 2019-07-16  9:54 UTC (permalink / raw)
  To: hdegoede, axboe; +Cc: linux-ide, linux-kernel

devm_ioremap_resource already contains error message, so remove
the redundant dev_err message

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
---
 drivers/ata/libahci_platform.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c
index 72312ad..3a36e76 100644
--- a/drivers/ata/libahci_platform.c
+++ b/drivers/ata/libahci_platform.c
@@ -408,7 +408,6 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev,
 	hpriv->mmio = devm_ioremap_resource(dev,
 			      platform_get_resource(pdev, IORESOURCE_MEM, 0));
 	if (IS_ERR(hpriv->mmio)) {
-		dev_err(dev, "no mmio space\n");
 		rc = PTR_ERR(hpriv->mmio);
 		goto err_out;
 	}
-- 
1.9.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: libahci_platform: remove redundant dev_err message
  2019-07-16  9:54 [PATCH] ata: libahci_platform: remove redundant dev_err message Ding Xiang
@ 2019-07-16 14:14 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2019-07-16 14:14 UTC (permalink / raw)
  To: Ding Xiang, hdegoede; +Cc: linux-ide, linux-kernel

On 7/16/19 3:54 AM, Ding Xiang wrote:
> devm_ioremap_resource already contains error message, so remove
> the redundant dev_err message

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16  9:54 [PATCH] ata: libahci_platform: remove redundant dev_err message Ding Xiang
2019-07-16 14:14 ` Jens Axboe

Linux-ide Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-ide/0 linux-ide/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-ide linux-ide/ https://lore.kernel.org/linux-ide \
		linux-ide@vger.kernel.org linux-ide@archiver.kernel.org
	public-inbox-index linux-ide


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-ide


AGPL code for this site: git clone https://public-inbox.org/ public-inbox