mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 13:56:45 +07:00
52807ae90e
The STi drm driver correctly warns about invalid format strings when built with 64-bit dma_addr_t: sti_hqvdp.c: In function 'sti_hqvdp_vtg_cb': sti_hqvdp.c:605:119: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=] sti_hqvdp.c: In function 'sti_hqvdp_atomic_update': sti_hqvdp.c:931:118: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=] This could be changed to using the %pad format string, but that does not work when printing an rvalue, so instead I'm changing the type in the sti_hqvdp structure to u32, which is what gets written into the registers anyway. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Vincent Abriou <vincent.abriou@st.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
NOTES | ||
sti_awg_utils.c | ||
sti_awg_utils.h | ||
sti_compositor.c | ||
sti_compositor.h | ||
sti_crtc.c | ||
sti_crtc.h | ||
sti_cursor.c | ||
sti_cursor.h | ||
sti_drv.c | ||
sti_drv.h | ||
sti_dvo.c | ||
sti_gdp.c | ||
sti_gdp.h | ||
sti_hda.c | ||
sti_hdmi_tx3g0c55phy.c | ||
sti_hdmi_tx3g0c55phy.h | ||
sti_hdmi_tx3g4c28phy.c | ||
sti_hdmi_tx3g4c28phy.h | ||
sti_hdmi.c | ||
sti_hdmi.h | ||
sti_hqvdp_lut.h | ||
sti_hqvdp.c | ||
sti_mixer.c | ||
sti_mixer.h | ||
sti_plane.c | ||
sti_plane.h | ||
sti_tvout.c | ||
sti_vid.c | ||
sti_vid.h | ||
sti_vtac.c | ||
sti_vtg.c | ||
sti_vtg.h |