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-02 13:55:36 +02:00
2012-07-17 15:11:37 -04:00
2012-07-20 12:31:05 +02:00
2012-07-17 19:35:59 -07:00
2012-07-17 09:32:14 -07:00
2012-07-26 12:59:53 -07:00
2012-07-10 18:49:26 +01:00
2012-07-24 13:37:37 -07:00
2012-07-24 13:56:26 -07:00
2012-07-24 17:12:54 -07:00
2012-06-01 16:55:42 -07:00
2012-07-04 19:51:50 +02:00
2012-06-07 14:58:38 +02:00
2012-05-31 18:18:11 -07:00
2012-07-03 21:51:08 +02:00
2012-07-26 13:00:59 -07:00
2012-06-26 06:55:23 -07:00
2012-07-22 19:32:00 +01:00
2012-05-29 16:22:33 -07:00
2012-07-26 12:59:53 -07:00
2012-06-06 15:20:22 -04:00
2012-05-31 20:29:58 -04:00
2012-07-26 10:23:47 -07:00
2012-07-05 01:33:59 -07:00
2012-05-29 16:22:29 -07:00
2012-07-20 09:07:37 +01:00
2012-06-29 11:38:17 -04:00
2012-06-15 08:46:23 +02:00
2012-07-11 16:04:49 -07:00
2012-05-29 16:22:20 -07:00
2012-07-04 13:07:05 +02:00
2012-07-17 21:37:27 +02:00
2012-06-06 19:12:30 -07:00
2012-07-11 15:36:43 -07:00
2012-07-11 17:58:46 -07:00
2012-07-24 16:40:57 -07:00
2012-06-03 20:05:57 -07:00
2012-05-31 17:49:32 -07:00
2012-06-18 09:47:00 -04:00
2012-07-19 08:34:37 -07:00
2012-07-17 12:39:26 -07:00
2012-07-19 00:03:17 +02:00
2012-07-24 13:53:22 +02:00
2012-05-31 17:49:28 -07:00
2012-07-14 16:34:14 +04:00
2012-07-26 11:25:33 -07:00
2012-06-20 15:38:27 +01:00
2012-07-19 10:39:00 +02:00
2012-05-28 19:13:50 -03:00
2012-06-06 11:48:05 +02:00
2012-06-01 12:12:01 -04:00
2012-07-16 22:38:27 -07:00
2012-06-27 15:42:24 -07:00
2012-05-31 17:49:32 -07:00
2012-07-17 21:37:27 +02:00
2012-05-29 23:28:33 -04:00
2012-06-01 16:57:51 -07:00
2012-07-22 23:57:58 +04:00
2012-07-23 00:01:29 +04:00
2012-05-30 21:04:53 -04:00
2012-06-28 13:52:15 -04:00
2012-07-24 00:01:30 -07:00
2012-07-16 18:05:45 -07:00
2012-06-08 11:50:01 +01:00
2012-07-05 15:04:10 +02:00
2012-07-09 16:23:33 +02:00
2012-07-11 23:34:39 +02:00
2012-05-29 16:22:21 -07:00
2012-06-04 16:49:43 +02:00
2012-07-24 14:13:59 +02:00
2012-07-02 15:11:12 +02:00
2012-06-19 21:39:50 +02:00
2012-07-20 11:07:00 -07:00
2012-07-20 11:07:00 -07:00
2012-07-18 09:36:12 -07:00
2012-06-30 01:08:00 -07:00
2012-06-12 15:25:46 -07:00
2012-07-26 13:08:01 -07:00
2012-07-07 16:18:33 -07:00
2012-06-08 12:15:43 +02:00
2012-07-11 18:22:32 +10:00
2012-07-23 12:17:00 +02:00
2012-05-31 17:49:31 -07:00
2012-07-18 08:59:58 -07:00
2012-07-22 12:19:36 -07:00
2012-05-27 08:12:42 -04:00
2012-07-06 10:53:49 +02:00
2012-05-29 16:22:32 -07:00
2012-07-26 11:14:49 -07:00
2012-05-31 17:49:32 -07:00
2012-05-29 16:22:21 -07:00
2012-07-21 13:58:17 -07:00
2012-05-31 17:49:30 -07:00
2012-07-02 12:34:23 -07:00
2012-05-31 17:49:28 -07:00
2012-07-21 10:34:00 -07:00
2012-06-04 11:43:00 -04:00
2012-07-22 10:15:28 -07:00
2012-07-24 12:01:20 -07:00
2012-05-30 11:43:10 +02:00
2012-05-29 16:22:29 -07:00
2012-05-29 16:22:32 -07:00
2012-05-29 16:22:31 -07:00
2012-05-29 23:28:41 -04:00
2012-07-25 15:58:48 -04:00
2012-07-01 03:34:50 -07:00
2012-07-11 16:04:50 -07:00
2012-05-29 16:22:28 -07:00
2012-05-29 16:22:20 -07:00
2012-07-01 03:34:50 -07:00
2012-07-19 15:51:36 -04:00
2012-05-29 16:22:28 -07:00
2012-06-20 14:39:35 -07:00
2012-07-11 10:20:47 -07:00
2012-05-29 16:22:20 -07:00
2012-07-24 13:34:56 -07:00
2012-06-18 15:38:22 -07:00
2012-06-08 14:58:13 +09:30
2012-05-31 17:49:27 -07:00
2012-07-03 13:22:37 +08:00
2012-07-14 16:35:40 +04:00
2012-07-22 12:44:01 -07:00
2012-07-20 11:06:59 -07:00
2012-06-16 15:40:02 +02:00
2012-06-16 15:40:02 +02:00
2012-06-22 02:49:52 +02:00
2012-06-29 16:46:06 -07:00
2012-07-17 09:02:36 -07:00
2012-07-09 16:42:24 -04:00
2012-06-18 08:45:16 -04:00
2012-07-14 16:33:08 +04:00
2012-07-17 12:16:39 +02:00
2012-06-26 21:06:11 -07:00
2012-06-25 13:50:28 +02:00
2012-07-10 10:32:06 -05:00
2012-07-24 14:07:22 -07:00
2012-05-29 16:22:24 -07:00
2012-05-29 16:22:18 -07:00
2012-06-20 14:39:36 -07:00
2012-07-22 16:07:45 -07:00
2012-07-10 08:36:09 -06:00
2012-06-22 15:16:51 -06:00
2012-07-23 12:17:00 +02:00
2012-06-18 12:13:21 +02:00
2012-07-09 00:10:56 -07:00
2012-07-12 07:54:46 -07:00
2012-07-05 22:12:32 +02:00
2012-07-19 00:02:30 +02:00
2012-07-26 13:36:43 -07:00
2012-07-08 00:25:48 +10:00
2012-07-17 16:48:09 -07:00
2012-07-17 12:15:30 -07:00
2012-06-11 12:26:15 +08:00
2012-07-22 23:58:19 +04:00
2012-07-22 23:58:19 +04:00
2012-06-05 10:46:40 -07:00
2012-07-06 06:01:49 -07:00
2012-07-02 11:39:19 -07:00
2012-06-06 20:43:28 -07:00
2012-07-22 19:26:07 +01:00
2012-05-29 16:22:27 -07:00
2012-05-31 17:49:31 -07:00
2012-05-31 17:49:31 -07:00
2012-05-29 16:22:21 -07:00
2012-07-04 11:51:59 +03:00
2012-05-29 16:22:33 -07:00
2012-07-10 22:40:13 -07:00
2012-07-26 13:08:01 -07:00
2012-06-01 10:37:01 -04:00
2012-06-11 13:16:35 +01:00
2012-06-22 15:36:44 -06:00
2012-07-20 11:28:20 +05:30
2012-07-10 12:08:14 +09:00
2012-07-20 11:28:20 +05:30
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-19 11:02:03 -07:00
2012-07-16 22:31:34 -07:00
2012-07-19 11:02:03 -07:00
2012-06-13 21:16:42 +02:00
2012-07-01 13:31:23 +02:00
2012-06-04 12:28:45 -07:00
2012-06-15 21:48:14 -07:00
2012-05-31 17:49:32 -07:00
2012-06-22 23:02:22 -07:00
2012-07-22 23:57:56 +04:00
2012-07-23 00:58:46 -07:00
2012-06-01 12:58:50 -04:00
2012-06-11 20:07:17 +02:00
2012-07-10 15:47:46 +02:00
2012-07-26 13:36:43 -07:00
2012-07-13 19:34:43 -04:00
2012-07-22 23:57:55 +04:00
2012-07-06 10:53:49 +02:00
2012-06-02 15:21:43 -07:00
2012-07-22 23:57:56 +04:00
2012-06-18 13:42:03 +02:00
2012-07-20 08:59:00 +01:00
2012-07-16 17:43:04 -07:00
2012-07-06 10:53:20 -07:00
2012-06-21 09:32:16 +01:00
2012-06-11 15:47:21 -03:00
2012-07-20 08:58:58 +01:00
2012-07-20 08:59:03 +01:00
2012-05-30 07:55:31 +02:00