lkml.org 
[lkml]   [2004]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 427] Amiga Zorro8390 Ethernet section conflict
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.101 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site