Message ID | 20230716004616.21838-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp411559vqt; Sat, 15 Jul 2023 18:48:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhrkV6YObQLZKhdpwUKCvgwm2Itrl/U4GOyijTc5IruJCKx8Urv1sS5wEyCCtGNeoz/SrR X-Received: by 2002:a05:6402:2037:b0:51d:9ddf:f0f3 with SMTP id ay23-20020a056402203700b0051d9ddff0f3mr7551329edb.31.1689472109791; Sat, 15 Jul 2023 18:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689472109; cv=none; d=google.com; s=arc-20160816; b=oqlP/wWwtV8S9kP6zFlwp/9q7qMLlBW0jJHDPxZA24HTECSc5sh9EredO+Xrz5PuHc /vnI8JGL0EX8CP3vfNCJ7iHuz2Y/P/Y/2peunShvxbZK/vrIDMfYS6RrcZpBScgFWPnJ BLUrXjxwpQEolpmaZtPG1iSW9L7J7o7IF7OmGdIrlRit5tVgGfy3/1KDevdiQ6iGWHzJ xFaiEWrY6vsQA5lSOGIs4SHT0s0LwVYK9ha2HhQ9kHmt5RI4NGP0smeTtK4Sota9ddjV aOR4wD2gM1CVSk5E15OYYwQAIQL9FoljEC72UXSxSHBZ7g49H2167p9FhD4TUnnlYt5T W0ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vCDJzaPXRVCO/UvhiEs9IHkx1kgQ8KEzMrH/C6KGEU0=; fh=vCCXPJDSgIBF+PiwsQ7BF8aFntX++Iba+x7pt1aY0gM=; b=0J/joKieOteyY67bSERbmj8XKb8CApswV9nq47YO36EF7Owk08OfqVyG9IK2Pi8pE8 PVmyRNZQqk8ybQaeV/lcQ+zp7st8WntbDC3AZYtlhe77YPhvNKvwsyxQSORXSZFsDnZ3 +MdSzcfHNSd2ed+xE1j/dd3LV5nSC5aohtfHl3z2zkVZpx3A5MsEsh4xNeVQxHQdVvSf zzzvgsEemMA9lFZS2A+S58wnzwqIIeLPP4GLXMo/6Tx5gCkxYDVfhfl6v75qHeCoEVna fUtBKks5pTOi6Hqu7agn0k6h4OThOAT+HImqe6yEGVCub+e2aVUxltvWND3msz2q140Q Whbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=b7ClRTC6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm28-20020a0564020b1c00b0051e52bd68f2si12380271edb.192.2023.07.15.18.48.06; Sat, 15 Jul 2023 18:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=b7ClRTC6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbjGPAqV (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Sat, 15 Jul 2023 20:46:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjGPAqT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 15 Jul 2023 20:46:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F0F1101 for <linux-kernel@vger.kernel.org>; Sat, 15 Jul 2023 17:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=vCDJzaPXRVCO/UvhiEs9IHkx1kgQ8KEzMrH/C6KGEU0=; b=b7ClRTC6xGPUfPjg3DfYY1xxDk J3IwUzmdemoCyRwI1hiw/UFxBG9Nc9tqI1e9ahGdgGni3OdqfAzU9D4rBjo2f8a14GXaWFTL8AKC6 g3XXKCTByv78lQYd7LRpHmjSHdcZGBGa+7YYhXofQUKQnxBjv7vhd5ruCbnV1wghR5/jU07soME/F bCfM2LI+RaQxuigE+wISZEqQ/cu3zBOpOexyddGJldJndOS7P27AFORezLol2tj7RFy6Fw5sOvvZz bUMDZLVEqz2oe0IS5BCGSt6NRku+WjGsNbyj9wWo9dMgm/hfCZBrKB93jcPgX27lj5OeMa7nEnBYe tWxamYXg==; Received: from 50-198-160-193-static.hfc.comcastbusiness.net ([50.198.160.193] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qKptx-009lWB-2x; Sun, 16 Jul 2023 00:46:18 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org, Harry Wentland <harry.wentland@amd.com>, Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org Subject: [PATCH] drm/connector: mark enum counter value as private Date: Sat, 15 Jul 2023 17:46:16 -0700 Message-ID: <20230716004616.21838-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771539907273245105 X-GMAIL-MSGID: 1771539907273245105 |
Series |
drm/connector: mark enum counter value as private
|
|
Commit Message
Randy Dunlap
July 16, 2023, 12:46 a.m. UTC
Mark the DRM_MODE_COLORIMETRY_COUNT enum value as private in
kernel-doc to prevent a build warning:
include/drm/drm_connector.h:527: warning: Enum value 'DRM_MODE_COLORIMETRY_COUNT' not described in enum 'drm_colorspace'
Fixes: c627087cb164 ("drm/connector: Use common colorspace_names array")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: dri-devel@lists.freedesktop.org
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: amd-gfx@lists.freedesktop.org
---
include/drm/drm_connector.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20230714.orig/include/drm/drm_connector.h +++ linux-next-20230714/include/drm/drm_connector.h @@ -522,7 +522,7 @@ enum drm_colorspace { DRM_MODE_COLORIMETRY_RGB_WIDE_FIXED = 13, DRM_MODE_COLORIMETRY_RGB_WIDE_FLOAT = 14, DRM_MODE_COLORIMETRY_BT601_YCC = 15, - /* not a valid value; merely used for counting */ + /* private: not a valid value; merely used for counting */ DRM_MODE_COLORIMETRY_COUNT };