Re: [PATCH] Trivial bugfix in 3c509.c

Jeff Garzik (jgarzik@mandrakesoft.com)
Sun, 12 May 2002 11:25:01 -0400


Mikael Pettersson wrote:

>Dave & Martin,
>
>I noticed you guys included Kasper Dupont's patch in your
>2.5.15 patch kits:
>
>>With 3c509 compiled in kernel calling ifup after lots of
>>diskaccess causes an Oops.
>>
>>read_eeprom was incorrectly marked as __init. This patch
>>applies against 2.4.19-pre8-ac1 and maybee also 2.4.19-pre8:
>>
>
>Note that 2.4.19-pre8-ac1 has a newer version of 3c509.c than
>either 2.4.19-pre8 vanilla or 2.5.15, and it's only the newer
>version that calls read_eeprom() from non-__init code.
>This patch is not needed for 2.5.15.
>
>(The only calls to read_eeprom() in 2.5.15 are from el3_probe(),
>which is __init.)
>

Nevertheless, I applied it to both, because I want to sync up both
copies as much as possible.

Jeff

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