Messages in this thread Patch in this message | | | Date | Mon, 6 Mar 2006 17:09:19 -0800 | From | Paul Jackson <> | Subject | Re: initcall at ... returned with error code -19 (Was: Re: 2.6.16-rc5-mm2) |
| |
Andrew wrote: > That's OK - it's -ENODEV.
I can't help but wonder if the particular case of -ENODEV should be kept quiet, as in the following totally untested patch:
diff -Naurp 2.6.16-rc5-mm2.orig/init/main.c 2.6.16-rc5-mm2/init/main.c --- 2.6.16-rc5-mm2.orig/init/main.c 2006-03-06 17:02:46.491860190 -0800 +++ 2.6.16-rc5-mm2/init/main.c 2006-03-06 17:07:29.754830844 -0800 @@ -608,7 +608,8 @@ static void __init do_initcalls(void) result = (*call)(); - if (result) { + /* don't mind -ENODEV - just a driver w/o hardware */ + if (result && result != -ENODEV) { sprintf(msgbuf, "error code %d", result); msg = msgbuf; } -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |