Commit 2f77d82e authored by Adam Jackson's avatar Adam Jackson Committed by Ville Syrjälä
Browse files

drm/fourcc: Fix undefined left shift in DRM_FORMAT_BIG_ENDIAN macros



1<<31 is undefined because it's a signed int and C is terrible.

Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191018175041.613780-1-ajax@redhat.com
parent 2093dea3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment