All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paweł Sikora" <pluto@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] warning `comparison is always false due to limited range of data type'
Date: Thu, 8 Jul 2004 15:15:43 +0200	[thread overview]
Message-ID: <200407081515.43055.pluto@pld-linux.org> (raw)

[-- 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;
 	}

                 reply	other threads:[~2004-07-08 13:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407081515.43055.pluto@pld-linux.org \
    --to=pluto@pld-linux.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.