From patchwork Fri Apr 28 10:01:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Ser X-Patchwork-Id: 13226188 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07526C77B60 for ; Fri, 28 Apr 2023 10:01:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 711CA10E3B6; Fri, 28 Apr 2023 10:01:34 +0000 (UTC) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id BD7F810E3B6 for ; Fri, 28 Apr 2023 10:01:32 +0000 (UTC) Date: Fri, 28 Apr 2023 10:01:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1682676089; x=1682935289; bh=iO6ySNGWg8GkzQ6zIK96En/QGrGWcd7YAR2KROIu5J8=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=a7CBJfwCtaMexk2zX8ScEtkKL4kFc8RtycVYyzu8id3fIeVWzleZs/tCAUyfCrDRM aAJeHfL/ItGstwofe1GQkfhqnwvo8rObT/cwXPj2C4XR1uv4oiIuMFU2NXmdPF2YcX HWkPK+azfe4jpohPA2x9VDmr80mdg68Y8B63YrWxWCe5LviVNtEgnp4kHrAxbNTMrb i2fmvR+MKcifIK1vzq+cSY862lWVUb5QgVqT56ETsDLTx/sJmdutQE5/7Shqwry2Li VUWxKgcmr22U2ZrKGhjldpZeChNh5mI9sq3gbqQoo8s1DZtCHxOU9t3Ax//ghopP39 vGX1TJTe6wnqg== To: dri-devel@lists.freedesktop.org From: Simon Ser Subject: [PATCH 1/3] drm: fix code style for embedded structs in hdr_metadata_infoframe Message-ID: <20230428100115.9802-1-contact@emersion.fr> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pekka Paalanen , Sebastian Wick , Joshua Ashton Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Only the stuff inside the brackets should be indented. Signed-off-by: Simon Ser Cc: Harry Wentland Cc: Daniel Vetter Cc: Sebastian Wick Cc: Joshua Ashton Cc: Pekka Paalanen Reviewed-by: Pekka Paalanen --- 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,