Re: [PATCH] [2.4.20-rc1] compiler fix drivers/ide/pdc202xx.c

From: Henning P. Schmiedehausen (hps@intermeta.de)
Date: Mon Nov 11 2002 - 06:49:16 EST


Daniel Mehrmann <daniel.mehrmann@gmx.de> writes:

>Hello Marcelo,

>i fix a compiler warning from pdc202xx.c.
>The "default:" value in the switch was empty. Gcc don`t like
>this. We don`t need this one.

Correct solution is not to remove the "default:" but to add a "break;"

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de D-91054 Buckenhof Fax.: 09131 / 50654-20 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:22 EST