* [PATCH] warning `comparison is always false due to limited range of data type'
@ 2004-07-08 13:15 Paweł Sikora
0 siblings, 0 replies; only message in thread
From: Paweł Sikora @ 2004-07-08 13:15 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
[-- Attachment #2: gcc-ad1889.patch --]
[-- Type: text/x-diff, Size: 600 bytes --]
CC [M] sound/oss/ad1889.o
sound/oss/ad1889.c: In function `ad1889_ac97_init':
sound/oss/ad1889.c:854: warning: comparison is always false
due to limited range of data type
--- linux-2.6.7/sound/oss/ad1889.c.orig 2004-06-16 07:19:12.000000000 +0200
+++ linux-2.6.7/sound/oss/ad1889.c 2004-07-08 14:36:04.048339480 +0200
@@ -851,7 +851,7 @@
}
eid = ad1889_codec_read(ac97, AC97_EXTENDED_ID);
- if (eid == 0xffffff) {
+ if (eid == 0xffff) {
printk(KERN_WARNING DEVNAME ": no codec attached?\n");
goto out_free;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-08 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 13:15 [PATCH] warning `comparison is always false due to limited range of data type' Paweł Sikora
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox