Message ID | 20231223050707.14091-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1496223dyi; Fri, 22 Dec 2023 21:08:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEImlO17dDALuvBFWRwG0ESts+JKA//l+4rxBkKu1MVejx8zQw/+wO0/PB2wkMULbsp/DLU X-Received: by 2002:a05:622a:148d:b0:427:8115:f5b7 with SMTP id t13-20020a05622a148d00b004278115f5b7mr3121899qtx.38.1703308098488; Fri, 22 Dec 2023 21:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703308098; cv=none; d=google.com; s=arc-20160816; b=fztV768i498Y/fQv+dxN3xQ/306vfBi4QgOwnmKdTqjNgW9AfcjATj/yr1MbdyZbbj AJQwVuHsmNebu5xuJUfjKG7Ix6EWYQo9sBQAR0bbjEFr0U9fEFy6qNhZu9F+NacGLIyC XWDSlC/jA++A0oZebTmL/hqS1IjmDtIwN/aMtAnOQWvOKlUO1xtlCbwr7HVkouH3jr35 GlI9V9LrYEKC38zGEcFZkxBB+E6qBVRZFZuzBx6RkFz49KBFNVb/AysmtwdmSoF8anXA atempQHPdz72HDBQLGMB1czN+JEfxedzUJXnA+DPidr1bND2QCKAhwm0uq6NrlyPbd4s Ivnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=keHgqFhOWpkH/zEjvcku1aRyCcDuntkNgDFAa7/rreE=; fh=v4JRYrTFYpLyZs+5i7E1Ohh0wStcab6emY/oV74mgWk=; b=qJe0NoJ5ht2E0ZMEh9rgI1Z/rKw/LJGktsirYHGlM8MUdPUrIMiI2RPXHIy/NnhxyR Knk91Lwqj6lYhhesab48aRzXdDPbzQixzte1p1EDAMtJWW99BR0KfAZKOCLiVjpP7TZp kbnyjQa0gCbpDdxY04OQd9JcYQ4HcMAHXfwUjims5IMbBFHrQf7qUHtvyPBoeohmjMEh oxQwvfTVSwCo7ei30+AR3KWDhOOOGkI8DuGxZVWw6qQK5P951QvpNkh0JbqEqLOrh9kC galmX3ZAvMMaFgCVrS9H34vGMEf/yS4kKOi1g0OahHEd2DHo0XpZTspceQyPD7DjURmn G2QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Q3OLSM8T; spf=pass (google.com: domain of linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p19-20020a05622a00d300b00423b1181008si5978841qtw.610.2023.12.22.21.08.18 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 21:08:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Q3OLSM8T; spf=pass (google.com: domain of linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10305-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4AC121C22A7C for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 05:08:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68092CA78; Sat, 23 Dec 2023 05:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Q3OLSM8T" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85181BA32; Sat, 23 Dec 2023 05:07:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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=keHgqFhOWpkH/zEjvcku1aRyCcDuntkNgDFAa7/rreE=; b=Q3OLSM8Tz+7dqXrI0CH7bRQnTK /xJHXyhWiqPglbzoRAaxVJJGMqfq1JIVcDxTAUN9LPCeCNe6pJn1nquAdYX9JYRt69lch6H3aMIJO 6SYTPORN1GN4E37wJNz0/8gIDk2yBMqMq+L2eV4r58Q/kKiTky7PQ1aTT5uug/GoJmBsuyDaWe++n bvh6G6msXr2hzPsyOpzKGnY0Ev/2aJDRXyvnG7n1aiLWYN12KOy8K0FCeC4GGoJ97Z7X+8xPr2aut btrz3i/HVS9v5pYBMngygzcEDLhdLzuxCDQpSHaWmynpX1MZfN2ApxaYpSosZHBHs+foqRqe8m0sV OHf/LKKw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGuE8-007Ory-08; Sat, 23 Dec 2023 05:07:10 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Sakari Ailus <sakari.ailus@linux.intel.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org Subject: [PATCH] media: media-entity.h: fix Excess kernel-doc description warnings Date: Fri, 22 Dec 2023 21:07:07 -0800 Message-ID: <20231223050707.14091-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786047992389653241 X-GMAIL-MSGID: 1786047992389653241 |
Series |
media: media-entity.h: fix Excess kernel-doc description warnings
|
|
Commit Message
Randy Dunlap
Dec. 23, 2023, 5:07 a.m. UTC
Remove the @major: and @minor: lines to prevent the kernel-doc warnings:
include/media/media-entity.h:376: warning: Excess struct member 'major' description in 'media_entity'
include/media/media-entity.h:376: warning: Excess struct member 'minor' description in 'media_entity'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org
---
include/media/media-entity.h | 4 ----
1 file changed, 4 deletions(-)
Comments
Hi Randy, Thank you for the patch. On Fri, Dec 22, 2023 at 09:07:07PM -0800, Randy Dunlap wrote: > Remove the @major: and @minor: lines to prevent the kernel-doc warnings: > > include/media/media-entity.h:376: warning: Excess struct member 'major' description in 'media_entity' > include/media/media-entity.h:376: warning: Excess struct member 'minor' description in 'media_entity' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Sakari Ailus <sakari.ailus@linux.intel.com> > Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > Cc: Mauro Carvalho Chehab <mchehab@kernel.org> > Cc: linux-media@vger.kernel.org Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > include/media/media-entity.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff -- a/include/media/media-entity.h b/include/media/media-entity.h > --- a/include/media/media-entity.h > +++ b/include/media/media-entity.h > @@ -337,10 +337,6 @@ enum media_entity_type { > * @info.dev: Contains device major and minor info. > * @info.dev.major: device node major, if the device is a devnode. > * @info.dev.minor: device node minor, if the device is a devnode. > - * @major: Devnode major number (zero if not applicable). Kept just > - * for backward compatibility. > - * @minor: Devnode minor number (zero if not applicable). Kept just > - * for backward compatibility. > * > * .. note:: > *
diff -- a/include/media/media-entity.h b/include/media/media-entity.h --- a/include/media/media-entity.h +++ b/include/media/media-entity.h @@ -337,10 +337,6 @@ enum media_entity_type { * @info.dev: Contains device major and minor info. * @info.dev.major: device node major, if the device is a devnode. * @info.dev.minor: device node minor, if the device is a devnode. - * @major: Devnode major number (zero if not applicable). Kept just - * for backward compatibility. - * @minor: Devnode minor number (zero if not applicable). Kept just - * for backward compatibility. * * .. note:: *