Hi Andrew, attached patch fixes an erroneous strcmp in modpost.c which let the build of some external modules (madwifi, vloopback) on 2.6.17-rc4-mm1 fail. Additionally a small codingstyle one-liner :-) kind regards, Sven Signed-off-by: Sven Schuster <[email protected]>
--- linux-2.6.17-rc4-mm1/scripts/mod/modpost.c.orig 2006-05-15 20:49:14.000000000 +0200 +++ linux-2.6.17-rc4-mm1/scripts/mod/modpost.c 2006-05-15 20:49:30.000000000 +0200 @@ -1194,9 +1194,9 @@ static void read_dump(const char *fname, *d != '\0') goto fail; - if ((strcmp(export, "EXPORT_SYMBOL_GPL"))) + if (strcmp(export, "EXPORT_SYMBOL_GPL") == 0) export_type = 1; - else if(strcmp(export, "EXPORT_SYMBOL") == 0) + else if (strcmp(export, "EXPORT_SYMBOL") == 0) export_type = 0; else goto fail;
Attachment:
pgpfErCIgbkkA.pgp
Description: PGP signature
- Prev by Date: 2.6.17-rc4-mm1 klibc build misbehavior
- Next by Date: Re: ASUS A8V Deluxe, x86_64
- Previous by thread: 2.6.17-rc4-mm1 klibc build misbehavior
- Next by thread: New scsi messages in dmesg with 2.6.17-rc4-mm1 including a slightly worrying "Unexpected busfree while idle"
- Index(es):