Commit 42828d8d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] gcc-3.5: pnpbios

drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated
parent 64919e2d
...@@ -435,7 +435,7 @@ int __init pnpbios_probe_system(void) ...@@ -435,7 +435,7 @@ int __init pnpbios_probe_system(void)
*/ */
for (check = (union pnp_bios_install_struct *) __va(0xf0000); for (check = (union pnp_bios_install_struct *) __va(0xf0000);
check < (union pnp_bios_install_struct *) __va(0xffff0); check < (union pnp_bios_install_struct *) __va(0xffff0);
((void *) (check)) += 16) { check = (void *)check + 16) {
if (check->fields.signature != PNP_SIGNATURE) if (check->fields.signature != PNP_SIGNATURE)
continue; continue;
printk(KERN_INFO "PnPBIOS: Found PnP BIOS installation structure at 0x%p\n", check); printk(KERN_INFO "PnPBIOS: Found PnP BIOS installation structure at 0x%p\n", check);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment