aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-10-07 14:29:51 +0200
committerDoug Ledford <[email protected]>2015-10-21 16:56:44 -0400
commit5d1e623591dfaa64a59ecdac420adc16125524d4 (patch)
tree42435b352220337c88e52f9ddddb4dfaa22621d4 /scripts/stackusage
parentb61e564af85bde408456f779eb267a37a64dc522 (diff)
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 <[email protected]> Fixes: 565197dd8fb1 ("IB/core: Extend ib_uverbs_create_cq") Reviewed-by: Yann Droneaud <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions