drm/fourcc: Fix fourcc_mod_code() definition
authorThierry Reding <treding@nvidia.com>
Tue, 20 Feb 2018 14:47:25 +0000 (15:47 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 9 Mar 2018 10:44:35 +0000 (11:44 +0100)
commitffc85cfac0d96396390aa8414f24567231902087
tree984e8e892303b191b7546358f2467f1e9dd1b47f
parent04ffabf17a116a19854fc5957d3e97805815b77c
drm/fourcc: Fix fourcc_mod_code() definition

Avoid a compiler warnings when the val parameter is an expression.

This is based on commit 5843f4e02fbe86a59981e35adc6cabebee46fdc0 from
Linux v4.16-rc1.

Acked-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm-uapi/drm_fourcc.h