[PATCH 1/3] drm: fix code style for embedded structs in hdr_metadata_infoframe

Simon Ser contact at emersion.fr
Fri Apr 28 10:01:24 UTC 2023


Only the stuff inside the brackets should be indented.

Signed-off-by: Simon Ser <contact at emersion.fr>
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Sebastian Wick <sebastian.wick at redhat.com>
Cc: Joshua Ashton <joshua at froggi.es>
Cc: Pekka Paalanen <pekka.paalanen at collabora.com>
---
 include/uapi/drm/drm_mode.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 46becedf5b2f..997d23fb2d68 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -878,7 +878,7 @@ struct hdr_metadata_infoframe {
 	 */
 	struct {
 		__u16 x, y;
-		} display_primaries[3];
+	} display_primaries[3];
 	/**
 	 * @white_point: White Point of Colorspace Data.
 	 * These are coded as unsigned 16-bit values in units of
@@ -889,7 +889,7 @@ struct hdr_metadata_infoframe {
 	 */
 	struct {
 		__u16 x, y;
-		} white_point;
+	} white_point;
 	/**
 	 * @max_display_mastering_luminance: Max Mastering Display Luminance.
 	 * This value is coded as an unsigned 16-bit value in units of 1 cd/m2,
-- 
2.40.1




More information about the dri-devel mailing list