From: Takashi Iwai <tiwai@suse.de>
To: Chris Rankin <rankincj@yahoo.com>
Cc: alsa-devel@lists.sourceforge.net, perex@perex.cz
Subject: Re: [PATCH] Use "safe" Linux min() macro in Linux 2.2, 2.4
Date: Mon, 07 Oct 2002 11:44:41 +0200 [thread overview]
Message-ID: <s5hbs664m7q.wl@alsa2.suse.de> (raw)
In-Reply-To: <200210062300.g96N0XjD001410@wittsend.radionet>
At Mon, 7 Oct 2002 00:00:33 +0100 (BST),
Chris Rankin wrote:
>
> Hi,
>
> I have modified the SoundScape (proto-)driver to use the typesafe Linux min() macro, defining
> the macro if it hasn't been declared already. (This is compatibility for Linux 2.2.) In fact, it turns
> out that both min() and ARRAY_SIZE() are declared in include/linux/kernel.h and so I suppose
> that both these macros are candidates for putting in adriver.h instead.
ah, regarding min(), i already replaced it with a simple if statement
for 2.2 kernel at friday, because there is only one place it's used.
yes, the macros should go into adriver.h.
once when these macro are there, i'll take the original code back.
thanks,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
prev parent reply other threads:[~2002-10-07 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 23:00 [PATCH] Use "safe" Linux min() macro in Linux 2.2, 2.4 Chris Rankin
2002-10-07 9:44 ` Takashi Iwai [this message]
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=s5hbs664m7q.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=perex@perex.cz \
--cc=rankincj@yahoo.com \
/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.