• Mikael Pettersson's avatar
    [PATCH] fix drivers/char/misc.c module autoloading breakage · 2cf36de1
    Mikael Pettersson authored
    drivers/char/misc.c was changed to use the common list macros instead of
    its own list code.  The first open does load the module and increment
    its use count, but a bug causes a failure to be reported anyway.  This
    causes an error return to user-space where there is none, and makes the
    module non-unloadable.
    
    Fixed like this.
    2cf36de1
misc.c 7.01 KB