Linux-kernel mailing list archive 2000-02,: Re: [idea] request_module(const char *fmt, ...);

# Re: [idea] request_module(const char *fmt, ...);

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Thu, 13 Jan 2000 22:24:15 -0300

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: tytso@valinux.com: "Re: timer_bh robusteness fix against potential deadlocks"
- Previous message: Chuck Lever: "ROOT_DEV gets incorrect value"
- Next in thread: Tigran Aivazian: "Re: [idea] request_module(const char *fmt, ...);"
- Reply: Tigran Aivazian: "Re: [idea] request_module(const char *fmt, ...);"

Tigran Aivazian <tigran@sco.COM> said:
> Now I found a reason why request_module() can *NOT* be a macro. Ever.
> Because it wouldn't work for the calls like
>
> (void) request_module("ide-blabla");
>
> or
>
> if (request_module("misc-blabla") == 0)

A macro that expands to a single constant? A static inline function tha
does the same?

I'm still convinced that KMOD is enough of an interface change for modules
to warrant binary incompatibility.

    --
    Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
    Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: tytso@valinux.com: "Re: timer_bh robusteness fix against potential deadlocks"
- Previous message: Chuck Lever: "ROOT_DEV gets incorrect value"
- Next in thread: Tigran Aivazian: "Re: [idea] request_module(const char *fmt, ...);"
- Reply: Tigran Aivazian: "Re: [idea] request_module(const char *fmt, ...);"