Re: warning about phys_addr_t

From: Yinghai Lu
Date: Mon Feb 09 2009 - 14:56:53 EST


Yinghai Lu wrote:
> looks virt_to_phys will return phys_addr_t instead of unsigned long now?
>
> arch/x86/kernel/mpparse.c: In function âsmp_scan_configâ:
> arch/x86/kernel/mpparse.c:696: warning: format â%08lxâ expects type âlong unsigned intâ, but argument 3 has type âphys_addr_tâ
> arch/x86/kernel/mpparse.c: In function âupdate_mp_tableâ:
> arch/x86/kernel/mpparse.c:1014: warning: format â%lxâ expects type âlong unsigned intâ, but argument 2 has type âphys_addr_tâ
>

also
drivers/net/sfc/falcon.c: In function âfalcon_alloc_special_bufferâ:
drivers/net/sfc/falcon.c:340: warning: format â%lxâ expects type âlong unsigned intâ, but argument 10 has type âphys_addr_tâ
drivers/net/sfc/falcon.c: In function âfalcon_free_special_bufferâ:
drivers/net/sfc/falcon.c:355: warning: format â%lxâ expects type âlong unsigned intâ, but argument 10 has type âphys_addr_tâ
drivers/net/sfc/falcon.c: In function âfalcon_probe_portâ:
drivers/net/sfc/falcon.c:2346: warning: format â%lxâ expects type âlong unsigned intâ, but argument 7 has type âphys_addr_tâ
drivers/net/sfc/falcon.c: In function âfalcon_probe_nicâ:
drivers/net/sfc/falcon.c:2924: warning: format â%lxâ expects type âlong unsigned intâ, but argument 7 has type âphys_addr_tâ


drivers/firmware/iscsi_ibft.c: In function âibft_initâ:
drivers/firmware/iscsi_ibft.c:942: warning: format â%lxâ expects type âlong unsigned intâ, but argument 2 has type âphys_addr_tâ


YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/