Arnd Bergmann 5d1e623591 IB/core: avoid 32-bit warning
The INIT_UDATA() macro requires a pointer or unsigned long argument for
both input and output buffer, and all callers had a cast from when
the code was merged until a recent restructuring, so now we get

core/uverbs_cmd.c: In function 'ib_uverbs_create_cq':
core/uverbs_cmd.c:1481:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

This makes the code behave as before by adding back the cast to
unsigned long.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 565197dd8fb1 ("IB/core: Extend ib_uverbs_create_cq")
Reviewed-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-21 16:56:44 -04:00
..
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2006-09-22 15:22:46 -07:00
2015-08-30 18:12:33 -04:00
2008-07-14 23:48:44 -07:00
2015-08-30 18:12:33 -04:00
2015-08-30 15:48:24 -04:00
2015-05-05 09:18:02 -04:00
2015-10-21 16:56:44 -04:00
2015-09-09 08:33:31 -07:00