Remove compile warnings from 2.4.0-prerelease1-ac1
Subsystems (5)
PATCH 1/1 Remove compile warnings from 2.4.0-prerelease1-ac1
Here is a patch that removes warnings about depecrated use of labels at the end of compound statements and warnings about extra tokens at the end of #undef directives when using the 20001225 gcc snapshot. Could you please look this over for possible inclusion in 2.4.0 or 2.4.0-prerelease1-ac2? Some warnings I had with prerelease1 were fixed in ac1 so I did similar fixes for the warnings I still had.
Thanks.
Rich
drivers/acpi/hardware/hwcpu32.c +1 -1
@@ -708,4 +708,4 @@return ; } - +
drivers/acpi/namespace/nsxfobj.c +2 -1
@@ -694,4 +694,5 @@acpi_cm_release_mutex (ACPI_MTX_NAMESPACE );return (status); -} +} +
drivers/scsi/sym53c8xx.c +5 -5
@@ -11862,7 +11862,7 @@ out_clrack:OUTL (nc_dsp,NCB_SCRIPT_PHYS (np, clrack));return ; -out_stuck: +out_stuck:; }
@@ -14830,10 +14830,10 @@return retv; } -#undef SET_BIT 0 -#undef CLR_BIT 1 -#undef SET_CLK 2 -#undef CLR_CLK 3 +#undef SET_BIT/* 0 */ +#undef CLR_BIT/* 1 */ +#undef SET_CLK/* 2 */ +#undef CLR_CLK/* 3 */ /* * Try reading Symbios NVRAM.
drivers/sound/mpu401.c +2 -2
@@ -1449,7 +1449,7 @@ }break ; -default : +default :; }return TIMER_NOT_ARMED ; }
@@ -1559,7 +1559,7 @@setup_metronome (midi_dev);return 0 ; -default : +default :; }return -EINVAL ; }
drivers/sound/sb_ess.c +1 -1
@@ -770,7 +770,7 @@case IMODE_INIT :break ; -default : +default :;/* printk(KERN_WARN "ESS: Unexpected interrupt\n"); */ } }
drivers/sound/sequencer.c +5 -5
@@ -511,7 +511,7 @@ synth_devs[dev]->aftertouch (dev, voice, parm);break ; -default : +default :; }#undef dev#undef cmd
@@ -614,7 +614,7 @@ synth_devs[dev]->bender (dev, chn, w14);break ; -default : +default :; } }
@@ -684,7 +684,7 @@ }break ; -default : +default :; }return TIMER_NOT_ARMED ;
@@ -701,7 +701,7 @@DMAbuf_start_devices (parm);break ; -default : +default :; } }
@@ -859,7 +859,7 @@seq_sysex_message (q);break ; -default : +default :; }return 0 ; }
drivers/sound/sound_timer.c +1 -1
@@ -165,7 +165,7 @@seq_copy_to_input (event,8 );break ; -default : +default :; }return TIMER_NOT_ARMED ; }
fs/isofs/inode.c +1 -1
@@ -1264,7 +1264,7 @@ (volume_seq_no != 0) && (volume_seq_no != 1)) { printk(KERN_WARNING "Multi-volume CD somehow got mounted.\n"); } else -#endif IGNORE_WRONG_MULTI_VOLUME_SPECS +#endif /*IGNORE_WRONG_MULTI_VOLUME_SPECS */ {if (S_ISREG (inode->i_mode)) { inode->i_fop = &generic_ro_fops;
net/ipv4/arp.c +1 -1
@@ -292,7 +292,7 @@ neigh->output = neigh->ops->output;return 0 ;#endif - } + ;}#endif if (neigh->type ==RTN_MULTICAST ) { neigh->nud_state =NUD_NOARP ;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/