[PATCH] GCC v3 warning fixes #1 (Was: Re: 2.4.5 and gcc v3 final)

From: Anuradha Ratnaweera (anuradha@gnu.org)
Date: Mon Jun 25 2001 - 13:59:50 EST


On Sun, Jun 24, 2001 at 01:33:51PM -0400, Horst von Brand wrote:
>
> What gcc objects to is stuff like:
>
> "This is a nice long string
> that just goes on
> and on\n"
>
> which is illegal in C AFAIU. It does not object to:
>
> "This long string"
> "spans several lines, "
> "but legally.\n"
>
> The first form does/did appear in several asm()s. Fix them, send a patch.

Here is the first patch, which will fix warnings on many drivers. It is not
tested. But most, if not all, changes should be obvious.

I have tried to keep the coding style as closely as possible to the surronding
code.

Cheers,

Anuradha

-- 

Debian GNU/Linux (kernel 2.4.6-pre5)

Reality is just a crutch for people who can't handle science fiction.


- 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 : Sat Jun 30 2001 - 21:00:13 EST