diff --git a/qla2x00t/qla_attr.c b/qla2x00t/qla_attr.c index df4b0c7c1..99ca9e2af 100644 --- a/qla2x00t/qla_attr.c +++ b/qla2x00t/qla_attr.c @@ -419,7 +419,7 @@ qla2x00_update_portdb(struct device *dev, printk(KERN_INFO "Reconfiguring fabric on %ld\n", vha->host_no); qla2x00_configure_fabric(vha); - /* fall through */ + fallthrough; default: printk(KERN_INFO "Resyncing loop on %ld\n", diff --git a/qla2x00t/qla_isr.c b/qla2x00t/qla_isr.c index bc5b4bf0e..670763d63 100644 --- a/qla2x00t/qla_isr.c +++ b/qla2x00t/qla_isr.c @@ -885,7 +885,7 @@ skip_rio: case MBA_CHG_IN_CONNECTION: /* Change in connection mode */ if (IS_QLA2100(ha)) break; - /* fall through */ + fallthrough; case MBA_RESET: /* Reset */ case MBA_SYSTEM_ERR: /* System Error */ case MBA_REQ_TRANSFER_ERR: /* Request Transfer Error */ @@ -2251,7 +2251,7 @@ void qla24xx_process_response_queue(struct scsi_qla_host *vha, case ABTS_RECV_24XX: /* ensure that the ATIO queue is empty */ qla24xx_process_atio_queue(vha); - /* fall through */ + fallthrough; case ABTS_RESP_24XX: case CTIO_TYPE7: case NOTIFY_ACK_TYPE: diff --git a/qla2x00t/qla_sup.c b/qla2x00t/qla_sup.c index 18b745ee1..cadecdb75 100644 --- a/qla2x00t/qla_sup.c +++ b/qla2x00t/qla_sup.c @@ -2329,8 +2329,7 @@ qla2x00_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, sec_mask = 0x10000; break; } - /* Fall through... */ - + fallthrough; case 0x1f: /* Atmel flash. */ /* 512k sector size. */ if (flash_id == 0x13) { @@ -2338,8 +2337,7 @@ qla2x00_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, sec_mask = 0x80000000; break; } - /* Fall through... */ - + fallthrough; case 0x01: /* AMD flash. */ if (flash_id == 0x38 || flash_id == 0x40 || flash_id == 0x4f) { @@ -2371,7 +2369,7 @@ qla2x00_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, sec_mask = 0x1e000; break; } - /* Fall through... */ + fallthrough; default: /* Default to 16 kb sector size. */ rest_addr = 0x3fff;