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


Groups > linux.kernel > #1734151 > unrolled thread

[PATCH 1/6] [media] go7007: Delete an error message for a failed memory allocation in go7007_load_encoder()

Started bySF Markus Elfring <elfring@users.sourceforge.net>
First post2017-09-18 16:00 +0200
Last post2017-09-18 16:00 +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/6] [media] go7007: Delete an error message for a failed  memory allocation in go7007_load_encoder() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-09-18 16:00 +0200

#1734151 — [PATCH 1/6] [media] go7007: Delete an error message for a failed memory allocation in go7007_load_encoder()

FromSF Markus Elfring <elfring@users.sourceforge.net>
Date2017-09-18 16:00 +0200
Subject[PATCH 1/6] [media] go7007: Delete an error message for a failed memory allocation in go7007_load_encoder()
Message-ID<ur4KC-70P-31@gated-at.bofh.it>
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 18 Sep 2017 10:52:42 +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/go7007/go7007-driver.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/usb/go7007/go7007-driver.c b/drivers/media/usb/go7007/go7007-driver.c
index 05b1126f263e..222332189fa4 100644
--- a/drivers/media/usb/go7007/go7007-driver.c
+++ b/drivers/media/usb/go7007/go7007-driver.c
@@ -107,4 +107,3 @@ static int go7007_load_encoder(struct go7007 *go)
-			v4l2_err(go, "unable to allocate %d bytes for firmware transfer\n", fw_len);
 			release_firmware(fw_entry);
 			return -1;
 		}
-- 
2.14.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web