mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Antonio Alecrim Jr <antonio.alecrim@gmail.com>
To: "James E.J. Bottomley" <JBottomley@parallels.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Antonio Alecrim Jr <antonio.alecrim@gmail.com>
Subject: [PATCH 1/1] scsi:aic7xxx_old: fix: add missing enum ahc_chip entries
Date: Fri, 13 Sep 2013 14:27:29 -0300	[thread overview]
Message-ID: <1379093249-5493-1-git-send-email-antonio.alecrim@gmail.com> (raw)

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


                 reply	other threads:[~2013-09-13 20:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379093249-5493-1-git-send-email-antonio.alecrim@gmail.com \
    --to=antonio.alecrim@gmail.com \
    --cc=JBottomley@parallels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®