Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720703 > unrolled thread

[PATCH 1/3] [media] usbvision: Delete an error message for a failed memory allocation in usbvision_probe()

Started bySF Markus Elfring <elfring@users.sourceforge.net>
First post2017-08-26 22:50 +0200
Last post2017-08-26 22:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/3] [media] usbvision: Delete an error message for a failed  memory allocation in usbvision_probe() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-26 22:50 +0200

#1720703 — [PATCH 1/3] [media] usbvision: Delete an error message for a failed memory allocation in usbvision_probe()

FromSF Markus Elfring <elfring@users.sourceforge.net>
Date2017-08-26 22:50 +0200
Subject[PATCH 1/3] [media] usbvision: Delete an error message for a failed memory allocation in usbvision_probe()
Message-ID<uiQbM-607-15@gated-at.bofh.it>
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 26 Aug 2017 22:06:05 +0200

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/media/usb/usbvision/usbvision-video.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/usb/usbvision/usbvision-video.c b/drivers/media/usb/usbvision/usbvision-video.c
index 756322c4ac05..b74fb2dcb6f5 100644
--- a/drivers/media/usb/usbvision/usbvision-video.c
+++ b/drivers/media/usb/usbvision/usbvision-video.c
@@ -1498,4 +1498,3 @@ static int usbvision_probe(struct usb_interface *intf,
-		dev_err(&intf->dev, "usbvision: out of memory!\n");
 		ret = -ENOMEM;
 		goto err_pkt;
 	}
-- 
2.14.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web