diff mbox

[SCSI] eata_pio: missing break statement

Message ID 20160504061341.GA22064@mwanda (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Dan Carpenter May 4, 2016, 6:13 a.m. UTC
This missing break statement bug predates git.  It's a very minor thing,
it means that we print a '?' instead of a 'z' in dmesg.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Martin K. Petersen May 11, 2016, 2:01 a.m. UTC | #1
>>>>> "Dan" == Dan Carpenter <dan.carpenter@oracle.com> writes:

Dan> This missing break statement bug predates git.  It's a very minor
Dan> thing, it means that we print a '?' instead of a 'z' in dmesg.

Applied to 4.7/scsi-queue.
diff mbox

Patch

diff --git a/drivers/scsi/eata_pio.c b/drivers/scsi/eata_pio.c
index ca8003f..4299fa4 100644
--- a/drivers/scsi/eata_pio.c
+++ b/drivers/scsi/eata_pio.c
@@ -729,6 +729,7 @@  static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdev
 		break;
 	case 0x24:
 		SD(sh)->EATA_revision = 'z';
+		break;
 	default:
 		SD(sh)->EATA_revision = '?';
 	}