commit | e8ae79d6746649cf1d007831d47c042003a46951 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Wed Oct 26 17:07:35 2016 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Nov 29 08:21:26 2016 +0000 |
tree | 2dc9d6abcefe4be6cce038547e4913482c9e137e | |
parent | 41751b033aaa9eb996f43496d1e8295cfd7dbcb0 [diff] |
mfd: sun4i-gpadc: Fix 'cast from pointer to integer of different size' warning When building for X86 using COMPILE_TEST we get this warning: ../drivers/mfd/sun4i-gpadc.c: In function ‘sun4i_gpadc_probe’: ../drivers/mfd/sun4i-gpadc.c:110:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Since an integer and a pointer are difference sizes on 64bit architectures. Convert to case to a long instead. Signed-off-by: Lee Jones <lee.jones@linaro.org>