* [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2017-11-24 21:28 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2017-11-24 21:28 UTC (permalink / raw)
To: dri-devel, linux-fbdev, linux-parisc, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley
Cc: LKML, kernel-janitors
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..fe217a2f7d21 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
int bpp, xres, yres;
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
- if (!fb) {
- printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
+ if (!fb)
return -ENODEV;
- }
info = &fb->info;
--
2.15.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2017-11-24 21:28 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2017-11-24 21:28 UTC (permalink / raw)
To: dri-devel, linux-fbdev, linux-parisc, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley
Cc: LKML, kernel-janitors
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..fe217a2f7d21 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
int bpp, xres, yres;
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
- if (!fb) {
- printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
+ if (!fb)
return -ENODEV;
- }
info = &fb->info;
--
2.15.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
2017-11-24 21:28 ` SF Markus Elfring
@ 2017-11-24 21:30 ` Rolf Eike Beer
-1 siblings, 0 replies; 26+ messages in thread
From: Rolf Eike Beer @ 2017-11-24 21:30 UTC (permalink / raw)
To: SF Markus Elfring
Cc: dri-devel, linux-fbdev, linux-parisc, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, LKML, kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
> index 6ded5c198998..fe217a2f7d21 100644
> --- a/drivers/video/fbdev/stifb.c
> +++ b/drivers/video/fbdev/stifb.c
> @@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct
> *sti, int bpp_pref) int bpp, xres, yres;
>
> fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
> - if (!fb) {
> - printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
> + if (!fb)
> return -ENODEV;
> - }
>
> info = &fb->info;
This should be -ENOMEM.
Eike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_
@ 2017-11-24 21:30 ` Rolf Eike Beer
0 siblings, 0 replies; 26+ messages in thread
From: Rolf Eike Beer @ 2017-11-24 21:30 UTC (permalink / raw)
To: SF Markus Elfring
Cc: dri-devel, linux-fbdev, linux-parisc, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, LKML, kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
> index 6ded5c198998..fe217a2f7d21 100644
> --- a/drivers/video/fbdev/stifb.c
> +++ b/drivers/video/fbdev/stifb.c
> @@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct
> *sti, int bpp_pref) int bpp, xres, yres;
>
> fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
> - if (!fb) {
> - printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
> + if (!fb)
> return -ENODEV;
> - }
>
> info = &fb->info;
This should be -ENOMEM.
Eike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
2017-11-24 21:30 ` [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_ Rolf Eike Beer
@ 2017-12-29 18:05 ` Bartlomiej Zolnierkiewicz
-1 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-12-29 18:05 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Rolf Eike Beer, dri-devel, linux-fbdev, linux-parisc,
Helge Deller, James E. J. Bottomley, LKML, kernel-janitors
On Friday, November 24, 2017 10:30:34 PM Rolf Eike Beer wrote:
> Markus Elfring wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
> > index 6ded5c198998..fe217a2f7d21 100644
> > --- a/drivers/video/fbdev/stifb.c
> > +++ b/drivers/video/fbdev/stifb.c
> > @@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct
> > *sti, int bpp_pref) int bpp, xres, yres;
> >
> > fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
> > - if (!fb) {
> > - printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
> > + if (!fb)
> > return -ENODEV;
> > - }
> >
> > info = &fb->info;
>
> This should be -ENOMEM.
Markus, please fix this issue first (before doing cleanups).
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_
@ 2017-12-29 18:05 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-12-29 18:05 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Rolf Eike Beer, dri-devel, linux-fbdev, linux-parisc,
Helge Deller, James E. J. Bottomley, LKML, kernel-janitors
On Friday, November 24, 2017 10:30:34 PM Rolf Eike Beer wrote:
> Markus Elfring wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Fri, 24 Nov 2017 22:22:06 +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/stifb.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
> > index 6ded5c198998..fe217a2f7d21 100644
> > --- a/drivers/video/fbdev/stifb.c
> > +++ b/drivers/video/fbdev/stifb.c
> > @@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct
> > *sti, int bpp_pref) int bpp, xres, yres;
> >
> > fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
> > - if (!fb) {
> > - printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
> > + if (!fb)
> > return -ENODEV;
> > - }
> >
> > info = &fb->info;
>
> This should be -ENOMEM.
Markus, please fix this issue first (before doing cleanups).
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 0/2] video/fbdev/stifb: Adjustments for stifb_init_fb()
2017-12-29 18:05 ` [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_ Bartlomiej Zolnierkiewicz
(?)
(?)
@ 2018-01-07 11:55 ` SF Markus Elfring
-1 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:55 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
RnJvbTogTWFya3VzIEVsZnJpbmcgPGVsZnJpbmdAdXNlcnMuc291cmNlZm9yZ2UubmV0PgpEYXRl
OiBTdW4sIDcgSmFuIDIwMTggMTI6NDU6NTQgKzAxMDAKClR3byB1cGRhdGUgc3VnZ2VzdGlvbnMg
d2VyZSB0YWtlbiBpbnRvIGFjY291bnQuCgpNYXJrdXMgRWxmcmluZyAoMik6CiAgUmV0dXJuIC1F
Tk9NRU0gYWZ0ZXIgYSBmYWlsZWQga3phbGxvYygpCiAgRGVsZXRlIGFuIGVycm9yIG1lc3NhZ2Ug
Zm9yIGEgZmFpbGVkIG1lbW9yeSBhbGxvY2F0aW9uCgogZHJpdmVycy92aWRlby9mYmRldi9zdGlm
Yi5jIHwgNiArKy0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDQgZGVsZXRp
b25zKC0pCgotLSAKMi4xNS4xCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fXwpkcmktZGV2ZWwgbWFpbGluZyBsaXN0CmRyaS1kZXZlbEBsaXN0cy5mcmVlZGVz
a3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9k
cmktZGV2ZWwK
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 0/2] video/fbdev/stifb: Adjustments for stifb_init_fb()
@ 2018-01-07 11:55 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:55 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: LKML, kernel-janitors
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:45:54 +0100
Two update suggestions were taken into account.
Markus Elfring (2):
Return -ENOMEM after a failed kzalloc()
Delete an error message for a failed memory allocation
drivers/video/fbdev/stifb.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.15.1
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 0/2] video/fbdev/stifb: Adjustments for stifb_init_fb()
@ 2018-01-07 11:55 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:55 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:45:54 +0100
Two update suggestions were taken into account.
Markus Elfring (2):
Return -ENOMEM after a failed kzalloc()
Delete an error message for a failed memory allocation
drivers/video/fbdev/stifb.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.15.1
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 0/2] video/fbdev/stifb: Adjustments for stifb_init_fb()
@ 2018-01-07 11:55 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:55 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:45:54 +0100
Two update suggestions were taken into account.
Markus Elfring (2):
Return -ENOMEM after a failed kzalloc()
Delete an error message for a failed memory allocation
drivers/video/fbdev/stifb.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
2018-01-07 11:55 ` SF Markus Elfring
(?)
(?)
@ 2018-01-07 11:56 ` SF Markus Elfring
-1 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:56 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
RnJvbTogTWFya3VzIEVsZnJpbmcgPGVsZnJpbmdAdXNlcnMuc291cmNlZm9yZ2UubmV0PgpEYXRl
OiBTdW4sIDcgSmFuIDIwMTggMTE6MzM6NTkgKzAxMDAKClJlcGxhY2UgYW4gZXJyb3IgY29kZSBm
b3IgdGhlIGluZGljYXRpb24gb2YgYSBtZW1vcnkgYWxsb2NhdGlvbiBmYWlsdXJlCmluIHRoaXMg
ZnVuY3Rpb24uCgpGaXhlczogMWRhMTc3ZTRjM2Y0MTUyNGU4ODZiN2YxYjhhMGMxZmM3MzIxY2Fj
ICgiTGludXgtMi42LjEyLXJjMjogSW5pdGlhbCBnaXQgcmVwb3NpdG9yeSBidWlsZCIpClN1Z2dl
c3RlZC1ieTogUm9sZiBFaWtlIEJlZXIgPGVpa2Uta2VybmVsQHNmLXRlYy5kZT4KU2lnbmVkLW9m
Zi1ieTogTWFya3VzIEVsZnJpbmcgPGVsZnJpbmdAdXNlcnMuc291cmNlZm9yZ2UubmV0PgotLS0K
IGRyaXZlcnMvdmlkZW8vZmJkZXYvc3RpZmIuYyB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAxIGlu
c2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2RyaXZlcnMvdmlkZW8vZmJk
ZXYvc3RpZmIuYyBiL2RyaXZlcnMvdmlkZW8vZmJkZXYvc3RpZmIuYwppbmRleCA2ZGVkNWMxOTg5
OTguLjUxMWE1OTQ4ODlhZiAxMDA2NDQKLS0tIGEvZHJpdmVycy92aWRlby9mYmRldi9zdGlmYi5j
CisrKyBiL2RyaXZlcnMvdmlkZW8vZmJkZXYvc3RpZmIuYwpAQCAtMTEyOCw3ICsxMTI4LDcgQEAg
c3RhdGljIGludCBfX2luaXQgc3RpZmJfaW5pdF9mYihzdHJ1Y3Qgc3RpX3N0cnVjdCAqc3RpLCBp
bnQgYnBwX3ByZWYpCiAJZmIgPSBremFsbG9jKHNpemVvZigqZmIpLCBHRlBfQVRPTUlDKTsKIAlp
ZiAoIWZiKSB7CiAJCXByaW50ayhLRVJOX0VSUiAic3RpZmI6IENvdWxkIG5vdCBhbGxvY2F0ZSBz
dGlmYiBzdHJ1Y3R1cmVcbiIpOwotCQlyZXR1cm4gLUVOT0RFVjsKKwkJcmV0dXJuIC1FTk9NRU07
CiAJfQogCQogCWluZm8gPSAmZmItPmluZm87Ci0tIAoyLjE1LjEKCl9fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmRyaS1kZXZlbCBtYWlsaW5nIGxpc3QKZHJp
LWRldmVsQGxpc3RzLmZyZWVkZXNrdG9wLm9yZwpodHRwczovL2xpc3RzLmZyZWVkZXNrdG9wLm9y
Zy9tYWlsbWFuL2xpc3RpbmZvL2RyaS1kZXZlbAo=
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-01-07 11:56 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:56 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: LKML, kernel-janitors
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 11:33:59 +0100
Replace an error code for the indication of a memory allocation failure
in this function.
Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/stifb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..511a594889af 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1128,7 +1128,7 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
if (!fb) {
printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
- return -ENODEV;
+ return -ENOMEM;
}
info = &fb->info;
--
2.15.1
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-01-07 11:56 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:56 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 11:33:59 +0100
Replace an error code for the indication of a memory allocation failure
in this function.
Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/stifb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..511a594889af 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1128,7 +1128,7 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
if (!fb) {
printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
- return -ENODEV;
+ return -ENOMEM;
}
info = &fb->info;
--
2.15.1
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-01-07 11:56 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:56 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 11:33:59 +0100
Replace an error code for the indication of a memory allocation failure
in this function.
Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/stifb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..511a594889af 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1128,7 +1128,7 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
if (!fb) {
printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
- return -ENODEV;
+ return -ENOMEM;
}
info = &fb->info;
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
2018-01-07 11:55 ` SF Markus Elfring
(?)
(?)
@ 2018-01-07 11:58 ` SF Markus Elfring
-1 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:58 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
RnJvbTogTWFya3VzIEVsZnJpbmcgPGVsZnJpbmdAdXNlcnMuc291cmNlZm9yZ2UubmV0PgpEYXRl
OiBTdW4sIDcgSmFuIDIwMTggMTI6MzQ6MjIgKzAxMDAKCk9taXQgYW4gZXh0cmEgbWVzc2FnZSBm
b3IgYSBtZW1vcnkgYWxsb2NhdGlvbiBmYWlsdXJlIGluIHRoaXMgZnVuY3Rpb24uCgpUaGlzIGlz
c3VlIHdhcyBkZXRlY3RlZCBieSB1c2luZyB0aGUgQ29jY2luZWxsZSBzb2Z0d2FyZS4KClNpZ25l
ZC1vZmYtYnk6IE1hcmt1cyBFbGZyaW5nIDxlbGZyaW5nQHVzZXJzLnNvdXJjZWZvcmdlLm5ldD4K
LS0tCgp2MjoKVGhpcyB1cGRhdGUgc3VnZ2VzdGlvbiB3YXMgcmViYXNlZCBvbiBzb3VyY2UgZmls
ZXMgZnJvbSB0aGUgc29mdHdhcmUKIkxpbnV4IG5leHQtMjAxODAxMDUiIHRvZ2V0aGVyIHdpdGgg
YSBjaGFuZ2UgZm9yIGFuIGVycm9yIGNvZGUuCgogZHJpdmVycy92aWRlby9mYmRldi9zdGlmYi5j
IHwgNCArLS0tCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDMgZGVsZXRpb25zKC0p
CgpkaWZmIC0tZ2l0IGEvZHJpdmVycy92aWRlby9mYmRldi9zdGlmYi5jIGIvZHJpdmVycy92aWRl
by9mYmRldi9zdGlmYi5jCmluZGV4IDUxMWE1OTQ4ODlhZi4uZGVjOGVmYjRmMjU2IDEwMDY0NAot
LS0gYS9kcml2ZXJzL3ZpZGVvL2ZiZGV2L3N0aWZiLmMKKysrIGIvZHJpdmVycy92aWRlby9mYmRl
di9zdGlmYi5jCkBAIC0xMTI2LDEwICsxMTI2LDggQEAgc3RhdGljIGludCBfX2luaXQgc3RpZmJf
aW5pdF9mYihzdHJ1Y3Qgc3RpX3N0cnVjdCAqc3RpLCBpbnQgYnBwX3ByZWYpCiAJaW50IGJwcCwg
eHJlcywgeXJlczsKIAogCWZiID0ga3phbGxvYyhzaXplb2YoKmZiKSwgR0ZQX0FUT01JQyk7Ci0J
aWYgKCFmYikgewotCQlwcmludGsoS0VSTl9FUlIgInN0aWZiOiBDb3VsZCBub3QgYWxsb2NhdGUg
c3RpZmIgc3RydWN0dXJlXG4iKTsKKwlpZiAoIWZiKQogCQlyZXR1cm4gLUVOT01FTTsKLQl9CiAJ
CiAJaW5mbyA9ICZmYi0+aW5mbzsKIAotLSAKMi4xNS4xCgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fXwpkcmktZGV2ZWwgbWFpbGluZyBsaXN0CmRyaS1kZXZl
bEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5mcmVlZGVza3RvcC5vcmcvbWFp
bG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2018-01-07 11:58 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:58 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: LKML, kernel-janitors
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:34:22 +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>
---
v2:
This update suggestion was rebased on source files from the software
"Linux next-20180105" together with a change for an error code.
drivers/video/fbdev/stifb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 511a594889af..dec8efb4f256 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
int bpp, xres, yres;
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
- if (!fb) {
- printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
+ if (!fb)
return -ENOMEM;
- }
info = &fb->info;
--
2.15.1
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_in
@ 2018-01-07 11:58 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:58 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:34:22 +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>
---
v2:
This update suggestion was rebased on source files from the software
"Linux next-20180105" together with a change for an error code.
drivers/video/fbdev/stifb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 511a594889af..dec8efb4f256 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
int bpp, xres, yres;
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
- if (!fb) {
- printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
+ if (!fb)
return -ENOMEM;
- }
info = &fb->info;
--
2.15.1
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2018-01-07 11:58 ` SF Markus Elfring
0 siblings, 0 replies; 26+ messages in thread
From: SF Markus Elfring @ 2018-01-07 11:58 UTC (permalink / raw)
To: linux-fbdev, linux-parisc, dri-devel, Bartlomiej Zolnierkiewicz,
Helge Deller, James E. J. Bottomley, Rolf Eike Beer
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 7 Jan 2018 12:34:22 +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>
---
v2:
This update suggestion was rebased on source files from the software
"Linux next-20180105" together with a change for an error code.
drivers/video/fbdev/stifb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 511a594889af..dec8efb4f256 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1126,10 +1126,8 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
int bpp, xres, yres;
fb = kzalloc(sizeof(*fb), GFP_ATOMIC);
- if (!fb) {
- printk(KERN_ERR "stifb: Could not allocate stifb structure\n");
+ if (!fb)
return -ENOMEM;
- }
info = &fb->info;
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
[not found] ` <CGME20180328133411epcas2p442e8f8a85d6c6e72ec5a5122519fe5eb@epcas2p4.samsung.com>
2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
(?)
@ 2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:34 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
T24gU3VuZGF5LCBKYW51YXJ5IDA3LCAyMDE4IDEyOjU2OjQ1IFBNIFNGIE1hcmt1cyBFbGZyaW5n
IHdyb3RlOgo+IEZyb206IE1hcmt1cyBFbGZyaW5nIDxlbGZyaW5nQHVzZXJzLnNvdXJjZWZvcmdl
Lm5ldD4KPiBEYXRlOiBTdW4sIDcgSmFuIDIwMTggMTE6MzM6NTkgKzAxMDAKPiAKPiBSZXBsYWNl
IGFuIGVycm9yIGNvZGUgZm9yIHRoZSBpbmRpY2F0aW9uIG9mIGEgbWVtb3J5IGFsbG9jYXRpb24g
ZmFpbHVyZQo+IGluIHRoaXMgZnVuY3Rpb24uCj4gCj4gRml4ZXM6IDFkYTE3N2U0YzNmNDE1MjRl
ODg2YjdmMWI4YTBjMWZjNzMyMWNhYyAoIkxpbnV4LTIuNi4xMi1yYzI6IEluaXRpYWwgZ2l0IHJl
cG9zaXRvcnkgYnVpbGQiKQo+IFN1Z2dlc3RlZC1ieTogUm9sZiBFaWtlIEJlZXIgPGVpa2Uta2Vy
bmVsQHNmLXRlYy5kZT4KPiBTaWduZWQtb2ZmLWJ5OiBNYXJrdXMgRWxmcmluZyA8ZWxmcmluZ0B1
c2Vycy5zb3VyY2Vmb3JnZS5uZXQ+CgpQYXRjaCBxdWV1ZWQgZm9yIDQuMTcsIHRoYW5rcy4KCkJl
c3QgcmVnYXJkcywKLS0KQmFydGxvbWllaiBab2xuaWVya2lld2ljegpTYW1zdW5nIFImRCBJbnN0
aXR1dGUgUG9sYW5kClNhbXN1bmcgRWxlY3Ryb25pY3MKCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCmRyaS1kZXZlbCBtYWlsaW5nIGxpc3QKZHJpLWRldmVs
QGxpc3RzLmZyZWVkZXNrdG9wLm9yZwpodHRwczovL2xpc3RzLmZyZWVkZXNrdG9wLm9yZy9tYWls
bWFuL2xpc3RpbmZvL2RyaS1kZXZlbAo=
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:34 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, dri-devel, Helge Deller,
James E. J. Bottomley, Rolf Eike Beer, LKML, kernel-janitors
On Sunday, January 07, 2018 12:56:45 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 11:33:59 +0100
>
> Replace an error code for the indication of a memory allocation failure
> in this function.
>
> Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
> Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:34 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
On Sunday, January 07, 2018 12:56:45 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 11:33:59 +0100
>
> Replace an error code for the indication of a memory allocation failure
> in this function.
>
> Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
> Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()
@ 2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:34 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
On Sunday, January 07, 2018 12:56:45 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 11:33:59 +0100
>
> Replace an error code for the indication of a memory allocation failure
> in this function.
>
> Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: Initial git repository build")
> Suggested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
[not found] ` <CGME20180328133621epcas2p2865976351cf3dc28ac258d2c9530ffcd@epcas2p2.samsung.com>
2018-03-28 13:36 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb() Bartlomiej Zolnierkiewicz
(?)
@ 2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:36 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
T24gU3VuZGF5LCBKYW51YXJ5IDA3LCAyMDE4IDEyOjU4OjQ3IFBNIFNGIE1hcmt1cyBFbGZyaW5n
IHdyb3RlOgo+IEZyb206IE1hcmt1cyBFbGZyaW5nIDxlbGZyaW5nQHVzZXJzLnNvdXJjZWZvcmdl
Lm5ldD4KPiBEYXRlOiBTdW4sIDcgSmFuIDIwMTggMTI6MzQ6MjIgKzAxMDAKPiAKPiBPbWl0IGFu
IGV4dHJhIG1lc3NhZ2UgZm9yIGEgbWVtb3J5IGFsbG9jYXRpb24gZmFpbHVyZSBpbiB0aGlzIGZ1
bmN0aW9uLgo+IAo+IFRoaXMgaXNzdWUgd2FzIGRldGVjdGVkIGJ5IHVzaW5nIHRoZSBDb2NjaW5l
bGxlIHNvZnR3YXJlLgo+IAo+IFNpZ25lZC1vZmYtYnk6IE1hcmt1cyBFbGZyaW5nIDxlbGZyaW5n
QHVzZXJzLnNvdXJjZWZvcmdlLm5ldD4KClBhdGNoIHF1ZXVlZCBmb3IgNC4xNywgdGhhbmtzLgoK
QmVzdCByZWdhcmRzLAotLQpCYXJ0bG9taWVqIFpvbG5pZXJraWV3aWN6ClNhbXN1bmcgUiZEIElu
c3RpdHV0ZSBQb2xhbmQKU2Ftc3VuZyBFbGVjdHJvbmljcwoKX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVsIG1haWxpbmcgbGlzdApkcmktZGV2
ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlzdHMuZnJlZWRlc2t0b3Aub3JnL21h
aWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:36 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, dri-devel, Helge Deller,
James E. J. Bottomley, Rolf Eike Beer, LKML, kernel-janitors
On Sunday, January 07, 2018 12:58:47 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 12:34:22 +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>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stif
@ 2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:36 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
On Sunday, January 07, 2018 12:58:47 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 12:34:22 +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>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()
@ 2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 26+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:36 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-fbdev, linux-parisc, Helge Deller, kernel-janitors,
James E. J. Bottomley, dri-devel, LKML, Rolf Eike Beer
On Sunday, January 07, 2018 12:58:47 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 7 Jan 2018 12:34:22 +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>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2018-03-28 13:36 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 21:28 [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb() SF Markus Elfring
2017-11-24 21:28 ` SF Markus Elfring
2017-11-24 21:30 ` Rolf Eike Beer
2017-11-24 21:30 ` [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_ Rolf Eike Beer
2017-12-29 18:05 ` [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb() Bartlomiej Zolnierkiewicz
2017-12-29 18:05 ` [PATCH] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_ Bartlomiej Zolnierkiewicz
2018-01-07 11:55 ` [PATCH v2 0/2] video/fbdev/stifb: Adjustments for stifb_init_fb() SF Markus Elfring
2018-01-07 11:55 ` SF Markus Elfring
2018-01-07 11:55 ` SF Markus Elfring
2018-01-07 11:55 ` SF Markus Elfring
2018-01-07 11:56 ` [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb() SF Markus Elfring
2018-01-07 11:56 ` SF Markus Elfring
2018-01-07 11:56 ` SF Markus Elfring
2018-01-07 11:56 ` SF Markus Elfring
[not found] ` <CGME20180328133411epcas2p442e8f8a85d6c6e72ec5a5122519fe5eb@epcas2p4.samsung.com>
2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
2018-03-28 13:34 ` Bartlomiej Zolnierkiewicz
2018-01-07 11:58 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation " SF Markus Elfring
2018-01-07 11:58 ` SF Markus Elfring
2018-01-07 11:58 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_in SF Markus Elfring
2018-01-07 11:58 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb() SF Markus Elfring
[not found] ` <CGME20180328133621epcas2p2865976351cf3dc28ac258d2c9530ffcd@epcas2p2.samsung.com>
2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
2018-03-28 13:36 ` Bartlomiej Zolnierkiewicz
2018-03-28 13:36 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stif Bartlomiej Zolnierkiewicz
2018-03-28 13:36 ` [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb() Bartlomiej Zolnierkiewicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.