Re: [PATCH 427] Amiga Zorro8390 Ethernet section conflict

From: Jeff Garzik
Date: Tue Apr 13 2004 - 11:38:16 EST


Geert Uytterhoeven wrote:
Zorro8390: const data cannot be in the init data section (from Roman Zippel)

ACK, but this patch highlights a bug:

one is __initdata:

static const struct card_info {
zorro_id id;
const char *name;
unsigned int offset;
} cards[] __initdata = {

and the lone caller is __devinit:

static int __devinit zorro8390_init_one(struct zorro_dev *z,
const struct zorro_device_id *ent)

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