Re: [PATCH][2.4.21-pre7] fix genksyms core dump in

Alan Cox (alan@lxorguk.ukuu.org.uk)
05 Apr 2003 17:31:52 +0100


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/