Skip to contentSkip to conversation

misc: mic: Remove the error message as the call will print it

PATCH In review Yi Wang 2 participants 2 messages May 30, 2020 Char and misc drivers

lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH v2 1/1 misc: mic: Remove the error message as the call will print it

From: Liao Pingfang <[email protected]>

The message should just be dropped as the call will print the failure message anyway.

---
changes in v2: remove the message instead of changing it.

 drivers/misc/mic/host/mic_main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/misc/mic/host/mic_main.c +0 -1
index be0784f..ea46085 100644
@@ -164,7 +164,6 @@ static int mic_probe(struct pci_dev *pdev,
 	mdev = kzalloc(sizeof(*mdev), GFP_KERNEL);
 	if (!mdev) {
 		rc = -ENOMEM;
-		dev_err(&pdev->dev, "mdev kmalloc failed rc %d\n", rc);
 		goto mdev_alloc_fail;
 	}
 	mdev->id = ida_simple_get(&g_mic_ida, 0, MIC_MAX_NUM_DEVS, GFP_KERNEL);
Signature · 1 line
2.9.5
maintainer
#1 lore raw
Quoted 27 lines · Yi Wang

From: Liao Pingfang <[email protected]>

The message should just be dropped as the call will print the failure message anyway.

---
changes in v2: remove the message instead of changing it.

 drivers/misc/mic/host/mic_main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/misc/mic/host/mic_main.c +0 -1
index be0784f..ea46085 100644
@@ -164,7 +164,6 @@ static int mic_probe(struct pci_dev *pdev,
 	mdev = kzalloc(sizeof(*mdev), GFP_KERNEL);
 	if (!mdev) {
 		rc = -ENOMEM;
-		dev_err(&pdev->dev, "mdev kmalloc failed rc %d\n", rc);
 		goto mdev_alloc_fail;
 	}
 	mdev->id = ida_simple_get(&g_mic_ida, 0, MIC_MAX_NUM_DEVS, GFP_KERNEL);
Signature · 1 line
2.9.5

Hi,

This is the friendly semi-automated patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response.

Right now, the development tree you have sent a patch for is "closed" due to the timing of the merge window. Don't worry, the patch(es) you have sent are not lost, and will be looked at after the merge window is over (after the -rc1 kernel is released by Linus).

So thank you for your patience and your patches will be reviewed at this later time, you do not have to do anything further, this is just a short note to let you know the patch status and so you don't worry they didn't make it through.

thanks,

greg k-h's patch email bot