Add some break's after default: in the end of switch statements to
keep gcc-3.1+ happy: ata-all.c:410: warning: deprecated use of label at end of compound statement ata-all.c:587: warning: deprecated use of label at end of compound statement ata-raid.c:99: warning: deprecated use of label at end of compound statement ata-raid.c:151: warning: deprecated use of label at end of compound statement
This commit is contained in:
parent
8f10826d06
commit
83e5f60722
@ -407,6 +407,7 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return ENOTTY;
|
||||
}
|
||||
@ -584,6 +585,7 @@ ata_intr(void *data)
|
||||
intr_count, ch->active, ch->status);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
ch->active &= ATA_CONTROL;
|
||||
if (ch->active & ATA_CONTROL)
|
||||
|
@ -96,6 +96,7 @@ ata_raiddisk_attach(struct ad_softc *adp)
|
||||
case 0x4d33105a: case 0x4d38105a: case 0x4d30105a:
|
||||
case 0x0d30105a: case 0x4d68105a: case 0x6268105a:
|
||||
case 0x00041103: case 0x00051103: case 0x00081103:
|
||||
break;
|
||||
}
|
||||
if (ar_table) {
|
||||
for (array = 0; array < MAX_ARRAYS; array++) {
|
||||
@ -148,6 +149,7 @@ ata_raiddisk_detach(struct ad_softc *adp)
|
||||
case 0x4d33105a: case 0x4d38105a: case 0x4d30105a:
|
||||
case 0x0d30105a: case 0x4d68105a: case 0x6268105a:
|
||||
case 0x00041103: case 0x00051103: case 0x00081103:
|
||||
break;
|
||||
}
|
||||
if (ar_table) {
|
||||
for (array = 0; array < MAX_ARRAYS; array++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user