Files
kernel_google_wahoo/include/linux
Josh Boyer 8ded2bbc18 posix_types.h: Cleanup stale __NFDBITS and related definitions
Recently, glibc made a change to suppress sign-conversion warnings in
FD_SET (glibc commit ceb9e56b3d1).  This uncovered an issue with the
kernel's definition of __NFDBITS if applications #include
<linux/types.h> after including <sys/select.h>.  A build failure would
be seen when passing the -Werror=sign-compare and -D_FORTIFY_SOURCE=2
flags to gcc.

It was suggested that the kernel should either match the glibc
definition of __NFDBITS or remove that entirely.  The current in-kernel
uses of __NFDBITS can be replaced with BITS_PER_LONG, and there are no
uses of the related __FDELT and __FDMASK defines.  Given that, we'll
continue the cleanup that was started with commit 8b3d1cda4f
("posix_types: Remove fd_set macros") and drop the remaining unused
macros.

Additionally, linux/time.h has similar macros defined that expand to
nothing so we'll remove those at the same time.

Reported-by: Jeff Law <law@redhat.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
CC: <stable@vger.kernel.org>
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
[ .. and fix up whitespace as per akpm ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-26 13:36:43 -07:00
..
2012-07-17 15:11:37 -04:00
2012-07-17 19:35:59 -07:00
2012-05-07 15:39:35 -07:00
2012-04-23 14:23:32 +03:00
2012-05-15 17:30:30 -04:00
2012-06-06 15:20:22 -04:00
2012-06-29 11:38:17 -04:00
2012-06-06 19:12:30 -07:00
2012-07-19 00:03:17 +02:00
2012-03-29 15:38:31 +10:30
2012-04-14 15:24:26 -04:00
2012-05-02 14:15:27 -05:00
2012-05-25 12:46:23 +05:30
2012-05-10 12:00:56 +02:00
2012-06-27 15:42:24 -07:00
2012-05-29 23:28:33 -04:00
2012-07-22 23:57:58 +04:00
2012-04-25 12:25:05 +02:00
2012-04-27 10:46:45 +08:00
2012-07-05 15:04:10 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-05-12 14:28:14 +02:00
2012-03-26 21:47:19 +02:00
2012-07-24 14:13:59 +02:00
2012-07-02 15:11:12 +02:00
2012-03-27 22:45:26 -04:00
2012-07-20 11:07:00 -07:00
2012-05-07 10:58:57 -06:00
2012-07-18 08:59:58 -07:00
2012-04-09 11:16:55 -07:00
2012-05-31 17:49:32 -07:00
2012-05-31 17:49:30 -07:00
2012-05-11 10:56:56 +01:00
2012-05-29 23:28:41 -04:00
2012-05-09 13:58:06 -07:00
2012-05-22 15:20:28 -04:00
2012-07-14 16:35:40 +04:00
2012-07-09 16:42:24 -04:00
2012-05-26 14:17:30 -04:00
2012-07-10 10:32:06 -05:00
2012-05-21 14:31:48 +01:00
2012-06-20 14:39:36 -07:00
2012-05-14 14:15:32 -07:00
2012-07-12 07:54:46 -07:00
2012-05-12 15:53:42 -04:00
2012-03-28 18:30:03 +01:00
2012-04-18 15:57:31 -07:00
2012-06-01 12:58:52 -04:00
2012-07-22 12:39:33 -07:00
2012-05-31 17:49:26 -07:00
2012-06-05 17:32:30 +02:00
2012-07-16 22:31:34 -07:00
2012-06-13 21:16:42 +02:00
2012-05-14 18:53:19 -04:00
2012-07-23 00:58:46 -07:00
2012-07-22 23:57:55 +04:00
2012-06-18 13:42:03 +02:00
2012-05-22 12:16:16 +09:30
2012-03-28 18:30:03 +01:00