From: Vignesh Babu BM <vignesh.babu@wipro.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] Taking the Min and Max macro job
Date: Fri, 09 Feb 2007 07:56:23 +0000 [thread overview]
Message-ID: <1171007063.10391.5.camel@wriver-t81fb058.linuxcoe> (raw)
In-Reply-To: <20070207235145.GZ8991@Ahmed>
On Fri, 2007-02-09 at 08:15 +0100, Richard Knutsson wrote:
> Vignesh Babu BM wrote:
> > Mehul like I said...xdr4.c needs a simple macro that does not check type
> > at all.
> >
> > But the macro that would work in xdr*.c would look something like the
> > below:
> >
> > #define min_s(x,y) ((x)>(y)?(x):(y))
> >
> >
> > So either we modify min/max in kernel.h - this means a lot more cleanup
> > or add another macro say min_s/max_s --- s for simple :)
> >
> > Unless we don't do that, it may not be possible to cleanup files like
> > xdr*.c
> >
> What about __min/__max? At least I usually read the '__'-prefix as
> something that is a subset of something (and most likely less secure).
> I wrote about this in "[KJ] [RFC] Regarding min/max" (07-02-03) bit
> since I was not able to find an example I took it as a mistake on my part.
>
> Richard Knutsson
>
Richard are you suggesting a name like __min/__max? That would be great.
--
Regards,
Vignesh Babu BM
_____________________________________________________________
"Why is it that every time I'm with you, makes me believe in magic?"
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2007-02-09 7:56 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 23:51 [KJ] Taking the Min and Max macro job Ahmed S. Darwish
2007-02-08 6:16 ` Alexey Dobriyan
2007-02-08 9:34 ` Ahmed S. Darwish
2007-02-08 9:41 ` Mehul Jani
2007-02-08 10:14 ` Mehul Jani
2007-02-08 11:40 ` Ahmed S. Darwish
2007-02-08 12:30 ` Mehul Jani
2007-02-08 12:34 ` Ahmed S. Darwish
2007-02-08 16:53 ` Robert P. J. Day
2007-02-08 18:40 ` Mehul Jani
2007-02-09 5:29 ` Mehul Jani
2007-02-09 6:44 ` Vignesh Babu BM
2007-02-09 7:15 ` Richard Knutsson
2007-02-09 7:56 ` Vignesh Babu BM [this message]
2007-02-09 8:19 ` Vignesh Babu BM
2007-02-09 8:55 ` Richard Knutsson
2007-02-09 9:41 ` Vignesh Babu BM
2007-02-09 9:56 ` Jaco Kroon
2007-02-09 12:17 ` Mehul Jani
2007-02-09 18:01 ` Richard Knutsson
2007-02-09 18:10 ` Richard Knutsson
2007-02-09 19:38 ` Mehul Jani
2007-02-09 22:28 ` Richard Knutsson
2007-02-10 5:49 ` Vignesh Babu BM
2007-02-10 8:24 ` Mehul Jani
2007-02-10 11:26 ` Robert P. J. Day
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=1171007063.10391.5.camel@wriver-t81fb058.linuxcoe \
--to=vignesh.babu@wipro.com \
--cc=kernel-janitors@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.