Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d6d4349b authored by Maria Yu's avatar Maria Yu Committed by Gerrit - the friendly Code Review server
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 082edf13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment