summaryrefslogtreecommitdiff
path: root/drivers/scsi/eata_pio.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-05-04 09:13:41 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-05-11 05:01:07 +0300
commitb324f6392eda4124f25017bd4633c167301ad9e3 (patch)
treeae6171521c6ab3a3e052050657d8a469561a0172 /drivers/scsi/eata_pio.c
parentff615f065a48137e48985c78d8b17ce14b22fa90 (diff)
downloadlinux-b324f6392eda4124f25017bd4633c167301ad9e3.tar.xz
eata_pio: missing break statement
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> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/eata_pio.c')
-rw-r--r--drivers/scsi/eata_pio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/eata_pio.c b/drivers/scsi/eata_pio.c
index ca8003f0d8a3..4299fa485622 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 = '?';
}