From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: cleanup: lot of folks redefining min() and max()
Date: Sat, 25 Apr 2009 23:35:11 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.00.0904252333320.8508@localhost.localdomain> (raw)
pretty sure we don't need to keep doing that since it's done in
include/linux/kernel.h.
drivers/scsi/ips.h:92: #define min(x,y) ((x) < (y) ? x : y)
drivers/media/dvb/siano/smscoreapi.h:46:#define min(a, b) (((a) < (b)) ? (a) : (b))
drivers/net/tehuti.h:79:#define MIN(x, y) ((x) < (y) ? (x) : (y))
drivers/staging/comedi/drivers/pcmda12.c:58:#define MIN(a,b) ( ((a) < (b)) ? (a) : (b) )
drivers/staging/comedi/drivers/pcmmio.c:79:#define MIN(a,b) ( ((a) < (b)) ? (a) : (b) )
drivers/staging/comedi/drivers/pcmuio.c:82:#define MIN(a,b) ( ((a) < (b)) ? (a) : (b) )
drivers/staging/sxg/sxg.h:430:#define MIN(a, b) ((u32)(a) < (u32)(b) ? (a) : (b))
drivers/staging/sxg/sxg.h:431:#define MAX(a, b) ((u32)(a) > (u32)(b) ? (a) : (b))
drivers/staging/rt2870/rtmp.h:715:#define min(_a, _b) (((_a) < (_b)) ? (_a) : (_b))
drivers/staging/rt2870/rtmp.h:719:#define max(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
drivers/staging/rt2860/rtmp.h:785:#define min(_a, _b) (((_a) < (_b)) ? (_a) : (_b))
drivers/staging/rt2860/rtmp.h:789:#define max(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
drivers/staging/rt3070/rtmp.h:762:#define min(_a, _b) (((_a) < (_b)) ? (_a) : (_b))
drivers/staging/rt3070/rtmp.h:766:#define max(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
drivers/staging/epl/EplDllkCal.c:94:#define min(a,b) (((a) < (b)) ? (a) : (b))
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter: http://twitter.com/rpjday
========================================================================
reply other threads:[~2009-04-26 3:36 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=alpine.LFD.2.00.0904252333320.8508@localhost.localdomain \
--to=rpjday@crashcourse.ca \
--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
all inboxes | Powered by JetHome®