• Antonino Daplas's avatar
    [PATCH] vesafb: Change return error id · ceca3893
    Antonino Daplas authored
    With <Stuart_Hayes@Dell.com>
    
    I'm getting a message in dmesg: "localhost kernel: vesafb: probe of vesafb0
    failed with error -6"
    
    I searched the web, and found that a lot of people are getting this, but I
    couldn't find an answer, so I looked into it.
    
    This appears to be because "vesafb" returns -ENXIO ("No such device or
    address") when its probe function fails.  However, driverse/base/bus.c spews
    an error message during device_attach() if a matching driver's probe function
    returns anything but -ENODEV ("No such device").
    Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ceca3893
vesafb.c 13.5 KB