Skip to content
Commit 5d853f86 authored by Maria Yu's avatar Maria Yu
Browse files

msm: vidc: Fix type casting issue for 32bit build error



Casting u32 to "void *" is not safe both for 64bit
and 32bit. Just use %x to print the u32 value as needed.
Replace do_div with / because when BITS_PER_LONG != 64,
the first parameter for do_div must be 64bit.

Change-Id: I5f8e3cf73b7d1e9ae41e27f8df4b1fc4a4189a2c
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent e7325167
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment