Re: [PATCH][2.4.21-pre7] fix genksyms core dump in drivers/char/joystick

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Apr 05 2003 - 11:31:52 EST


On Sad, 2003-04-05 at 14:59, mikpe@csd.uu.se wrote:
> This patch fixes this problem by using inline functions for the
> stubs instead of #defines.

You've changed the semantics completely

> -#define pcigame_attach(a,b) NULL
> -#define pcigame_detach(a)
> +static inline struct pcigame *pcigame_attach(struct pci_dev *dev, int type)
> +{
> + return NULL;
> +}

-
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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:26 EST