• S
    ARM: msm: Fix sparse warnings due to incorrect type · 3b5909de
    Stephen Boyd 提交于
    arch/arm/mach-msm/timer.c:153:3: warning: incorrect type in initializer (different address spaces)
    arch/arm/mach-msm/timer.c:153:3:    expected void const [noderef] <asn:3>*__vpp_verify
    arch/arm/mach-msm/timer.c:153:3:    got struct clock_event_device [noderef] <asn:3>**<noident>
    arch/arm/mach-msm/timer.c:153:38: warning: incorrect type in assignment (different address spaces)
    arch/arm/mach-msm/timer.c:153:38:    expected struct clock_event_device [noderef] <asn:3>*<noident>
    arch/arm/mach-msm/timer.c:153:38:    got struct clock_event_device *evt
    arch/arm/mach-msm/timer.c:191:22: warning: incorrect type in assignment (different address spaces)
    arch/arm/mach-msm/timer.c:191:22:    expected struct clock_event_device [noderef] <asn:3>**static [toplevel] percpu_evt
    arch/arm/mach-msm/timer.c:191:22:    got struct clock_event_device *[noderef] <asn:3>*<noident>
    arch/arm/mach-msm/timer.c:196:4: warning: incorrect type in initializer (different address spaces)
    arch/arm/mach-msm/timer.c:196:4:    expected void const [noderef] <asn:3>*__vpp_verify
    arch/arm/mach-msm/timer.c:196:4:    got struct clock_event_device [noderef] <asn:3>**<noident>
    arch/arm/mach-msm/timer.c:196:39: warning: incorrect type in assignment (different address spaces)
    arch/arm/mach-msm/timer.c:196:39:    expected struct clock_event_device [noderef] <asn:3>*<noident>
    arch/arm/mach-msm/timer.c:196:39:    got struct clock_event_device *ce
    arch/arm/mach-msm/timer.c:198:24: warning: incorrect type in argument 4 (different address spaces)
    arch/arm/mach-msm/timer.c:198:24:    expected void [noderef] <asn:3>*percpu_dev_id
    arch/arm/mach-msm/timer.c:198:24:    got struct clock_event_device [noderef] <asn:3>**static [toplevel] percpu_evt
    Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: NDavid Brown <davidb@codeaurora.org>
    3b5909de
timer.c 6.9 KB