* [PATCH] s390/char/vmlogrdr: module initialization function should return negative errors
@ 2008-05-11 20:05 Marcin Slusarz
2008-05-13 10:56 ` Martin Schwidefsky
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Slusarz @ 2008-05-11 20:05 UTC (permalink / raw)
To: LKML; +Cc: Martin Schwidefsky
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
drivers/s390/char/vmlogrdr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c
index d364e0b..e848734 100644
--- a/drivers/s390/char/vmlogrdr.c
+++ b/drivers/s390/char/vmlogrdr.c
@@ -858,7 +858,7 @@ static int __init vmlogrdr_init(void)
for (i=0; i < MAXMINOR; ++i ) {
sys_ser[i].buffer = (char *) get_zeroed_page(GFP_KERNEL);
if (!sys_ser[i].buffer) {
- rc = ENOMEM;
+ rc = -ENOMEM;
break;
}
sys_ser[i].current_position = sys_ser[i].buffer;
--
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] s390/char/vmlogrdr: module initialization function should return negative errors
2008-05-11 20:05 [PATCH] s390/char/vmlogrdr: module initialization function should return negative errors Marcin Slusarz
@ 2008-05-13 10:56 ` Martin Schwidefsky
0 siblings, 0 replies; 2+ messages in thread
From: Martin Schwidefsky @ 2008-05-13 10:56 UTC (permalink / raw)
To: Marcin Slusarz; +Cc: LKML
Thanks, I will add this to git390.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-13 11:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 20:05 [PATCH] s390/char/vmlogrdr: module initialization function should return negative errors Marcin Slusarz
2008-05-13 10:56 ` Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox