Commit:     39c98c421200e7bb16bed7aab2b640b43ca6621b
Parent:     2074a106f52b6371885afbd714e929d60d0e3f64
Author:     Mika Kukkonen <[EMAIL PROTECTED]>
AuthorDate: Thu May 24 02:42:38 2007 +0200
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Thu May 24 02:42:38 2007 +0200

    Add two missing chipsets to drivers/ide/ide-proc.c
    Compiling with '-Wswitch-enum' I noticed following:
      CC      drivers/ide/ide-proc.o
    drivers/ide/ide-proc.c: In function ‘proc_ide_read_imodel’:
    drivers/ide/ide-proc.c:54: warning: enumeration value ‘ide_etrax100’ 
not handled in switch
    drivers/ide/ide-proc.c:54: warning: enumeration value ‘ide_acorn’ not 
handled in switch
    How about the following patch?
    Signed-off-by: Mika Kukkonen <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 drivers/ide/ide-proc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c
index d50bd99..ea94c9a 100644
--- a/drivers/ide/ide-proc.c
+++ b/drivers/ide/ide-proc.c
@@ -67,6 +67,8 @@ static int proc_ide_read_imodel
                case ide_4drives:       name = "4drives";       break;
                case ide_pmac:          name = "mac-io";        break;
                case ide_au1xxx:        name = "au1xxx";        break;
+               case ide_etrax100:      name = "etrax100";      break;
+               case ide_acorn:         name = "acorn";         break;
                default:                name = "(unknown)";     break;
        len = sprintf(page, "%s\n", name);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to