diff options
author | peter <peter@FreeBSD.org> | 2002-03-19 12:14:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-19 12:14:14 +0000 |
commit | 83e5f607224eed5a9da34b933fb05edf42fa244e (patch) | |
tree | e4b3243f5a7755501d7b67f39aae23b15ff38c4a /sys/dev/ata | |
parent | 8f10826d06a8b54320e4a787fc6db3a6a552666b (diff) | |
download | FreeBSD-src-83e5f607224eed5a9da34b933fb05edf42fa244e.zip FreeBSD-src-83e5f607224eed5a9da34b933fb05edf42fa244e.tar.gz |
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
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/ata-raid.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 5ac0510..6b25699 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -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) diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 98eb180..eeb92ec 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -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++) { |