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:10:09 -08: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: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-14 16:10:09 -08:00
2014-12-15 18:06:13 -08:00
2014-12-14 16:10:09 -08:00
2014-12-17 09:59:26 -08:00
2014-12-19 12:57:45 -08:00
2014-12-17 09:59:26 -08:00
2014-12-16 14:53:01 -08:00
2014-12-14 16:10:09 -08:00
2014-12-18 20:24:55 -08: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-12-14 16:10:09 -08:00
2014-12-20 13:42:57 -08:00
2014-11-24 07:45:25 +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-14 16:43:47 -08:00
2014-12-15 18:06:13 -08:00
2014-12-15 18:06:13 -08:00