mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 15:57:01 +07:00
c9b6be7dc1
All values in a struct struct timing_entry (every entry in struct display_timing) require an integer. Choose the closest safe integer of 32. This avoids a warning seen with clang: drivers/gpu/drm/panel/panel-simple.c:1250:27: warning: implicit conversion from 'double' to 'u32' (aka 'unsigned int') changes value from 33.5 to 33 [-Wliteral-conversion] .vfront_porch = { 6, 21, 33.5 }, ~ ^~~~ drivers/gpu/drm/panel/panel-simple.c:1251:26: warning: implicit conversion from 'double' to 'u32' (aka 'unsigned int') changes value from 33.5 to 33 [-Wliteral-conversion] .vback_porch = { 6, 21, 33.5 }, ~ ^~~~ Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180419212003.8155-1-stefan@agner.ch |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
panel-arm-versatile.c | ||
panel-ilitek-ili9322.c | ||
panel-innolux-p079zca.c | ||
panel-jdi-lt070me05000.c | ||
panel-lg-lg4573.c | ||
panel-lvds.c | ||
panel-orisetech-otm8009a.c | ||
panel-panasonic-vvx10f034n00.c | ||
panel-raspberrypi-touchscreen.c | ||
panel-raydium-rm68200.c | ||
panel-samsung-ld9040.c | ||
panel-samsung-s6e3ha2.c | ||
panel-samsung-s6e8aa0.c | ||
panel-samsung-s6e63j0x03.c | ||
panel-seiko-43wvf1g.c | ||
panel-sharp-lq101r1sx01.c | ||
panel-sharp-ls043t1le01.c | ||
panel-simple.c | ||
panel-sitronix-st7789v.c |