* [PATCH 1/1] scsi:aic7xxx_old: fix: add missing enum ahc_chip entries
@ 2013-09-13 17:27 Antonio Alecrim Jr
0 siblings, 0 replies; only message in thread
From: Antonio Alecrim Jr @ 2013-09-13 17:27 UTC (permalink / raw)
To: James E.J. Bottomley, linux-scsi, linux-kernel; +Cc: Antonio Alecrim Jr
Due to this missing enum entries some switch cases have
unreached conditions:
drivers/scsi/aic7xxx_old.c: In function ‘aic7xxx_register’:
drivers/scsi/aic7xxx_old.c:7901:5: warning: case value ‘257’ not in enumerated type ‘ahc_chip’ [-Wswitch]
Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com>
---
drivers/scsi/aic7xxx_old.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
index 33ec9c6..643e214 100644
--- a/drivers/scsi/aic7xxx_old.c
+++ b/drivers/scsi/aic7xxx_old.c
@@ -728,6 +728,8 @@ typedef enum {
AHC_VL = 0x0100,
AHC_EISA = 0x0200,
AHC_PCI = 0x0400,
+ AHC_AIC7770_EISA = AHC_AIC7770|AHC_EISA,
+ AHC_AIC7770_VL = AHC_AIC7770|AHC_VL,
} ahc_chip;
typedef enum {
--
1.8.3.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-13 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-13 17:27 [PATCH 1/1] scsi:aic7xxx_old: fix: add missing enum ahc_chip entries Antonio Alecrim Jr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®