linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_
@ 2017-11-27 17:01 ` SF Markus Elfring
  2018-04-26  9:58   ` [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_com Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: SF Markus Elfring @ 2017-11-27 17:01 UTC (permalink / raw)
  To: linux-fbdev, dri-devel, Bartlomiej Zolnierkiewicz, Ingo Molnar
  Cc: kernel-janitors, LKML

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 27 Nov 2017 17:53:05 +0100

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/video/fbdev/auo_k190x.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/fbdev/auo_k190x.c b/drivers/video/fbdev/auo_k190x.c
index 0d06038324e0..971d155d250f 100644
--- a/drivers/video/fbdev/auo_k190x.c
+++ b/drivers/video/fbdev/auo_k190x.c
@@ -1081,7 +1081,6 @@ int auok190x_common_probe(struct platform_device *pdev,
 				     sizeof(struct fb_deferred_io),
 				     GFP_KERNEL);
 	if (!info->fbdefio) {
-		dev_err(info->device, "Failed to allocate memory\n");
 		ret = -ENOMEM;
 		goto err_defio;
 	}
-- 
2.15.0


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

* Re: [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_com
  2017-11-27 17:01 ` [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_ SF Markus Elfring
@ 2018-04-26  9:58   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-04-26  9:58 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: linux-fbdev, kernel-janitors, Ingo Molnar, dri-devel, LKML

On Monday, November 27, 2017 06:01:41 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 27 Nov 2017 17:53:05 +0100
> 
> 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>

I've done requested audit regarding multiple fb devices support
myself now and it is okay to apply this patch.

Patch queued for 4.18, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


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

end of thread, other threads:[~2018-04-26  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20171127170150epcas3p2bd5a7ba3a64c7a4f03ab823cf3707ebe@epcas3p2.samsung.com>
2017-11-27 17:01 ` [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_ SF Markus Elfring
2018-04-26  9:58   ` [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_com Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).