Re: 2.5.60 - drivers/char/esp.c vs include/linux/serialP.h

Valdis.Kletnieks@vt.edu
Fri, 14 Feb 2003 16:16:58 -0500


--==_Exmh_-1177195644P
Content-Type: text/plain; charset=us-ascii

On Fri, 14 Feb 2003 20:54:49 GMT, Russell King said:
> On Fri, Feb 14, 2003 at 03:39:34PM -0500, Valdis.Kletnieks@vt.edu wrote:
> > compiling drivers/char/esp.c with -Wundef triggers a warning:
> >
> > In file included from drivers/char/esp.c:51:
> > include/linux/serialP.h:27:6: warning: "LINUX_VERSION_CODE" is not defined

> My personal feeling woudl be to lop it out, and fix up anywhere
> and everywhere which complains appropraitely.

I jumped the gun, actually - the build was still running, and there's at
least 6 other things that trigger the same serialP.h warning - where there's
a #if (VAR < NNNN) check that Does The Wrong Thing because of the default
gcc behavior for undefineds. Hopefully this one's harmless - but there's
still 608 other warnings to work through.

--==_Exmh_-1177195644P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+TVzKcC3lWbTT17ARAgEHAKDf9Y4pKv/fOlWT4UXCSJ1a5NDWKgCfTprR
zQrBAVfquAPTJ2do2VSrOFM=
=0MMU
-----END PGP SIGNATURE-----

--==_Exmh_-1177195644P--
-
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/