lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0904252333320.8508@localhost.localdomain>
Date:	Sat, 25 Apr 2009 23:35:11 -0400 (EDT)
From:	"Robert P. J. Day" <rpjday@...shcourse.ca>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: cleanup:  lot of folks redefining min() and max()


  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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ