Skip to contentSkip to conversation

eata_pio: missing break statement

PATCH Applied Dan Carpenter 2 participants 2 messages May 4, 2016 – May 11, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/scsi/eata_pio.c +1 -0
index ca8003f..4299fa4 100644
@@ -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 = '?';
 	}
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dan" = Dan Carpenter <[email protected]> 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.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering