Rasmus Villemoes
db55b62cab
net: arcnet: Remove "#define bool int"
...
The header file include/linux/arcdevice.h #defines bool to int, if
bool is not already #defined. However, the files which use that header
file seem to rely on that #define (unconditionally) being in effect:
the prototypes for the functions arcrimi_reset, com20020_reset,
com90io_reset, com90xx_reset (whose addresses are assigned to the
hw.reset member of struct arcnet_local) use int explicitly.
Moreover, that #define is an accident waiting to happen (scenario:
inclusion of arcdevice.h followed by inclusion of some header which
declares function prototypes using bool). Also, #include
<linux/types.h> must appear before #include <linux/arcdevice.h> (the
compiler wouldn't like "typedef _Bool int").
Since none of the files using arcdevice.h declare variables of type
"bool", the patch is actually quite simple, unlike the commit message.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-07-07 21:34:43 -07:00
..
2014-06-10 10:28:45 -07:00
2014-06-12 23:06:23 -07:00
2014-06-10 16:53:25 -07:00
2014-06-12 12:42:32 -07:00
2014-06-04 23:13:41 -07:00
2014-06-10 15:34:47 -07:00
2014-06-12 14:27:40 -07:00
2014-06-11 08:35:34 -07:00
2014-06-14 14:43:23 -07:00
2014-06-16 16:05:56 +01:00
2014-06-04 16:54:05 -07:00
2014-06-22 21:31:58 -07:00
2014-06-10 15:02:42 -07:00
2014-06-12 14:27:40 -07:00
2014-07-07 21:34:43 -07:00
2014-06-12 10:30:18 -07:00
2014-06-17 22:12:35 -07:00
2014-06-17 22:12:02 -07:00
2014-06-04 16:54:04 -07:00
2014-06-04 16:54:02 -07:00
2014-06-10 13:57:22 -07:00
2014-06-09 14:56:07 -07:00
2014-06-07 20:27:30 -07:00
2014-06-04 16:54:06 -07:00
2014-06-12 19:18:49 -07:00
2014-06-06 16:08:18 -07:00
2014-06-05 23:32:29 +02:00
2014-06-09 18:10:34 -07:00
2014-06-12 14:27:40 -07:00
2014-06-04 16:54:08 -07:00
2014-06-25 16:04:00 -07:00
2014-06-05 15:57:04 -07:00
2014-06-04 16:53:57 -07:00
2014-06-05 15:57:04 -07:00
2014-06-10 10:28:45 -07:00
2014-06-11 15:31:21 -06:00
2014-06-11 00:13:16 -07:00
2014-06-21 16:40:30 -10:00
2014-06-09 16:39:15 -07:00
2014-06-04 16:54:10 -07:00
2014-06-04 16:54:12 -07:00
2014-06-06 16:08:13 -07:00
2014-06-10 23:50:47 -07:00
2014-06-12 13:46:37 +02:00
2014-07-07 21:14:21 -07:00
2014-06-04 16:54:08 -07:00
2014-06-25 17:45:43 -07:00
2014-06-10 10:05:36 -07:00
2014-06-06 16:08:17 -07:00
2014-06-12 19:18:49 -07:00
2014-06-11 12:23:17 -07:00
2014-06-12 19:42:15 -07:00
2014-06-06 16:08:07 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:08 -07:00
2014-06-04 16:53:59 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:06 -07:00
2014-06-05 08:05:29 -07:00
2014-06-05 08:05:29 -07:00
2014-06-04 16:53:58 -07:00
2014-06-04 16:54:09 -07:00
2014-06-15 01:00:49 -07:00
2014-07-07 21:14:21 -07:00
2014-06-06 19:22:49 -04:00
2014-06-12 10:30:18 -07:00
2014-06-23 16:47:44 -07:00
2014-06-13 10:43:34 -04:00
2014-06-05 15:57:04 -07:00
2014-06-04 10:02:38 -07:00
2014-06-10 14:35:22 -07:00
2014-06-10 14:35:22 -07:00
2014-06-23 16:47:43 -07:00
2014-06-04 16:54:09 -07:00
2014-06-04 16:54:10 -07:00
2014-06-04 12:50:47 -04:00
2014-06-09 14:56:07 -07:00
2014-06-06 07:56:22 +02:00
2014-06-05 15:38:57 -07:00
2014-06-21 15:50:00 -07:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:54:17 -07:00
2014-06-04 16:54:21 -07:00
2014-07-07 16:57:18 -07:00
2014-06-06 16:08:11 -07:00
2014-06-10 09:46:00 -04:00
2014-06-04 16:54:12 -07:00
2014-06-19 21:17:37 -07:00
2014-06-05 10:38:45 +02:00
2014-06-12 19:42:15 -07:00
2014-06-10 10:05:36 -07:00
2014-06-06 16:08:14 -07:00
2014-06-06 16:08:12 -07:00
2014-07-07 21:14:21 -07:00
2014-06-04 16:54:08 -07:00
2014-06-06 16:08:18 -07:00
2014-06-12 00:21:11 -04:00
2014-06-16 23:29:39 +02:00
2014-06-04 16:54:11 -07:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:53:55 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:03 -07:00
2014-06-27 15:53:35 -07:00
2014-06-04 16:53:56 -07:00
2014-06-04 16:53:59 -07:00
2014-06-12 19:18:49 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:13 -07:00