Added fall-through comments to several fall-throughs.

This commit is contained in:
OBattler
2020-01-15 02:43:25 +01:00
parent e60b74e33b
commit a2867e6978
8 changed files with 11 additions and 0 deletions

View File

@@ -1250,6 +1250,7 @@ BuslogicPCIWrite(int func, int addr, uint8_t val, void *p)
case 0x14:
val &= 0xe0;
/*FALLTHROUGH*/
case 0x15: case 0x16: case 0x17:
/* MMIO Base set. */

View File

@@ -1537,6 +1537,8 @@ scsi_cdrom_command(scsi_common_t *sc, uint8_t *cdb)
/* IMPORTANT: Convert the command to new read CD
for pass through purposes. */
dev->current_cdb[0] = 0xbe;
/*FALLTHROUGH*/
case GPCMD_READ_6:
case GPCMD_READ_10:
case GPCMD_READ_12:

View File

@@ -613,6 +613,7 @@ scsi_disk_command(scsi_common_t *sc, uint8_t *cdb)
scsi_disk_invalid_field(dev);
return;
}
/*FALLTHROUGH*/
case GPCMD_SCSI_RESERVE:
case GPCMD_SCSI_RELEASE:
case GPCMD_TEST_UNIT_READY: