From: Ville Syrjälä Date: Tue, 28 Apr 2020 17:19:30 +0000 (+0300) Subject: drm: Shrink mode->type to u8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3542cc54a1bb17fed85f1503b6978a95107c2ba8;p=linux.git drm: Shrink mode->type to u8 We only have 7 bits defined for mode->type. Shrink the storage to u8. Reviewed-by: Sam Ravnborg Reviewed-by: Emil Velikov Reviewed-by: Daniel Vetter Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-7-ville.syrjala@linux.intel.com --- diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index b93b5dcda3928..0e74e37611827 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h @@ -271,7 +271,7 @@ struct drm_display_mode { * which are stuck around for hysterical raisins only. No one has an * idea what they were meant for. Don't use. */ - unsigned int type; + u8 type; /** * @clock: