From patchwork Wed Aug 3 20:42:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Ser X-Patchwork-Id: 12935880 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 2DABEC19F2B for ; Wed, 3 Aug 2022 20:43:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AB17410E1C3; Wed, 3 Aug 2022 20:43:11 +0000 (UTC) Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 37A76891BA for ; Wed, 3 Aug 2022 20:43:02 +0000 (UTC) Date: Wed, 03 Aug 2022 20:42:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1659559379; x=1659818579; bh=8XlFONgs+Gi2FQsHSEeU9iW0mujgWJEVRuegN9bNLTc=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=mjz8t/u86GK6GCz+1hImz3Z27W6reA+dGwV1Xu0IjweWFvXbMEzK2v4whaERVKqvX asY+78lHX4JXzyN5o0YBdKe7f/Ws4paBXexVRCakl53ekKxvZWguI6EN44ZuB/6Mjv aRGyN2GcAVDXuMeSmKoh6BLhaDBtwMA5Ux+laUmnfFHyQf5Q4/pLbom2N/yQpDViKT w6yZEmsbTAxlVNyqaa7xBmxVacCEs483iLZHwllOAu3EJQx/spelihnrDwLofGx816 aAcqzIKXPELdnlUasS7l1y2oE226Yaldik6GrzXbFvnphVojDX9TH9I7AAV8XBzkNj w9v4yIIUZ4a5g== To: dri-devel@lists.freedesktop.org From: Simon Ser Subject: [PATCH] drm: fix whitespace in drm_plane_create_color_properties() Message-ID: <20220803204240.33409-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: , Reply-To: Simon Ser Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The drm_property_create_enum() call for "COLOR_RANGE" contains a tab character in the middle of the argument list. Signed-off-by: Simon Ser Reviewed-by: Jani Nikula --- drivers/gpu/drm/drm_color_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c index 17c6c3eefcd6..d021497841b8 100644 --- a/drivers/gpu/drm/drm_color_mgmt.c +++ b/drivers/gpu/drm/drm_color_mgmt.c @@ -575,7 +575,7 @@ int drm_plane_create_color_properties(struct drm_plane *plane, len++; } - prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", + prop = drm_property_create_enum(dev, 0, "COLOR_RANGE", enum_list, len); if (!prop) return -ENOMEM;