From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "Andre M. Hedrick" <andre@linux-ide.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH] kill ide-lib.c warning
Date: Thu, 10 Oct 2002 18:48:55 +0200 (MEST) [thread overview]
Message-ID: <Pine.GSO.4.21.0210101846170.2509-100000@vervain.sonytel.be> (raw)
Kill warning (speed is u8, while XFER_PIO_4 is int)
--- linux-2.5.41/drivers/ide/ide-lib.c Sun Sep 29 11:03:01 2002
+++ linux-m68k-2.5.41/drivers/ide/ide-lib.c Thu Oct 10 17:51:25 2002
@@ -171,7 +171,7 @@
BUG();
return min(speed, speed_max[mode]);
#else /* !CONFIG_BLK_DEV_IDEDMA */
- return min(speed, XFER_PIO_4);
+ return min(speed, (__typeof(speed))XFER_PIO_4);
#endif /* CONFIG_BLK_DEV_IDEDMA */
}
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next reply other threads:[~2002-10-10 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 16:48 Geert Uytterhoeven [this message]
2002-10-10 17:25 ` [PATCH] kill ide-lib.c warning Alan Cox
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=Pine.GSO.4.21.0210101846170.2509-100000@vervain.sonytel.be \
--to=geert@linux-m68k.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andre@linux-ide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).