Arnd Bergmann
adedf37b59
rocker: fix harmless warning on 32-bit machines
...
The rocker driver tries to assign a pointer to a 64-bit integer
and then back to a pointer. This is safe on all architectures,
but causes a compiler warning when pointers are shorter than
64-bit:
rocker/rocker.c: In function 'rocker_desc_cookie_ptr_get':
rocker/rocker.c:809:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *) desc_info->desc->cookie;
^
This adds another cast to uintptr_t to tell the compiler
that it's safe.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-13 16:56:40 -05:00
..
2014-12-29 21:24:13 +01:00
2014-12-14 16:43:47 -08:00
2014-12-18 20:28:33 -08:00
2014-12-14 16:10:09 -08:00
2014-12-29 21:24:00 +01:00
2014-12-11 17:56:37 -08:00
2014-12-17 16:03:12 -08:00
2014-12-26 20:16:13 +02:00
2014-12-14 16:10:09 -08:00
2014-12-30 13:34:36 -06:00
2014-12-31 19:14:18 -05:00
2015-01-06 22:29:20 -05:00
2014-11-26 19:09:01 -08:00
2014-11-26 19:28:11 -08:00
2014-12-29 21:23:41 +01:00
2014-12-29 21:23:41 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-10 20:53:21 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-24 13:13:22 +10:00
2014-12-12 10:26:47 -08:00
2014-12-15 17:33:47 -08:00
2014-12-14 16:43:47 -08:00
2014-12-17 10:16:27 -08:00
2014-12-20 13:52:52 -08:00
2014-12-14 16:10:09 -08:00
2014-12-15 18:06:13 -08:00
2015-01-12 16:19:34 -05:00
2014-12-31 12:59:34 -08:00
2014-12-19 14:02:02 -08:00
2014-12-15 17:30:09 -08:00
2015-01-02 16:36:08 -05:00
2014-12-18 20:28:33 -08:00
2014-12-09 16:32:32 +02:00
2014-12-19 19:32:47 +01:00
2014-12-14 16:10:09 -08:00
2014-12-17 12:31:13 -05:00
2014-12-18 20:28:33 -08:00
2014-12-17 09:59:26 -08:00
2014-11-24 14:45:27 +01:00
2014-12-30 16:59:59 -08:00
2014-12-19 12:57:45 -08:00
2014-12-29 14:49:28 +01:00
2014-12-17 09:59:26 -08:00
2015-01-13 16:56:40 -05:00
2014-12-18 20:28:33 -08:00
2014-12-16 14:53:01 -08:00
2014-12-14 16:43:47 -08:00
2014-12-19 14:02:02 -08:00
2014-12-14 16:43:47 -08:00
2015-01-11 18:53:34 -05:00
2014-12-14 16:10:09 -08:00
2014-12-18 20:24:55 -08:00
2014-12-18 20:28:33 -08:00
2014-12-17 02:35:42 +01:00
2014-12-17 10:10:51 -08:00
2014-12-29 13:24:38 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-11-26 18:24:36 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-01-12 16:19:34 -05:00
2014-12-05 03:08:24 +01:00
2014-12-15 15:52:01 -08:00
2014-12-24 12:57:54 +00:00
2014-12-11 17:56:37 -08:00
2014-12-26 22:43:19 -05:00
2014-12-20 13:42:57 -08:00
2014-11-24 07:45:25 +01:00
2014-12-24 10:38:30 +08:00
2014-12-19 15:27:58 +01:00
2014-12-14 16:43:47 -08:00
2014-12-20 13:42:57 -08:00
2014-12-17 10:44:22 -08:00
2014-12-29 10:55:06 +02:00
2014-12-30 11:18:30 +02:00
2014-12-18 20:50:30 -08:00
2014-12-14 16:43:47 -08:00
2014-12-18 16:01:20 +01:00
2014-12-18 05:56:29 -08:00
2014-12-15 18:06:13 -08:00
2014-12-15 18:06:13 -08:00