Message ID | 20231223050511.13849-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10294-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1495368dyi; Fri, 22 Dec 2023 21:05:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAOgGfnJ4rhJ3LJ/5wNtf3kFwI1MhNfY1maR7QUSdMO3my6yaCZoMUIl+JsTi6b7ovu5SZ X-Received: by 2002:a17:906:5ad1:b0:a23:6249:11f2 with SMTP id x17-20020a1709065ad100b00a23624911f2mr1525087ejs.25.1703307931478; Fri, 22 Dec 2023 21:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703307931; cv=none; d=google.com; s=arc-20160816; b=0ncrWfH3hxLqgfbniRmQVAwWvwmyBpd+VcZ90eobKVYmIpHlAGxg41MR9OncVCsyio Bzahz88hE3ip7a4ydgVimD8MHl4mQrS8o7gKzq3VNEnYD8yf+cLwYr8fyp+YyQQ/Saim 3HZjU6W8jWRq2ibLL3nc11XFfRwqcKqommW6jo3Op7CLkP3csD6nfij6jpZEKTUp/XbK PjcfVgQoH/deIgiCUBzXTgTBD71eYY53lAWKoCzCa5Y3O9hr4l+Rtn5QkQZ9lY2zabqx tvB3j8Y0tFa3B4fIYVazaqA1QAEscF2cLC0tnmmR3Oh0aXDMQKyIpS34HhKKDhZyPVvR JmvA== 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=KaEmTpHfBTShYhOTv7C/rpD+KFzSuDv6UtwePGIwHNU=; fh=27GiRcIQChsx81G9AijGGyoNVRdaWJSs0LIdKzJrAes=; b=diMUudr9jnr6DiWibMfvq5oy/8dHIcAh7hxNe0vJFuFbK8GxaLW5MF1+mP56do4KsY GMQ/aS0Obdn4slrHz0Tcw03MiBTA5Pxfhmy0k14JpzvnZ08IsYlOMkhsVFobT3nVau5I QhzxRZqUPGhi178ZhCd4wHkrag1T6eUE574g+vbB7kpxO4k1P151b0Mu5pHfywWWlbEZ O3fuTle5lQSHeYKGic3hNChbuz//0HbNaJf5GucAr0pv3OQUW+kAxd+/uzy+3KGpP9k4 HS47+X8KX2glNy1CuR5nrYZ3z/dokW0Jn2wLcYpRilkuCI0459QS16cUKUuRNbyvdm6K BJeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=LEA2HSkF; spf=pass (google.com: domain of linux-kernel+bounces-10294-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10294-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w8-20020a17090633c800b00a26a9780da4si1914768eja.189.2023.12.22.21.05.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 21:05:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10294-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=LEA2HSkF; spf=pass (google.com: domain of linux-kernel+bounces-10294-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10294-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1D4111F21C78 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 05:05:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C49C8610B; Sat, 23 Dec 2023 05:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="LEA2HSkF" 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 506938BE0; Sat, 23 Dec 2023 05:05:12 +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=KaEmTpHfBTShYhOTv7C/rpD+KFzSuDv6UtwePGIwHNU=; b=LEA2HSkFnfK9YLqle7dnJ4j8Wj XaH2cav+DKN4mfRBc9HlU8SdN5i3Mr+5/7O7727wxef/IiK7uj2qLCxZk+FCWLs+grqrW67S0i4TS OENMMCjQREew568lElOhnaWt3zgD93Uu8GyzRTxfFNV8Sj+wg2noR1edRP5ELTJ9WW1Xu65wemgof 1XB6nnSD8tMFZhWAJJ88AG6i+mqgxNlJRafmqaw6VTyGqTTIL4VbVDfoJrLHqga8NNsHtRQYFnkJS 4gqbJb6/R/DzTT6KVlvx4OImlP1RgCCsTo/qm2oCU4pP1HO7L/irCYRfEvR1twdfNH1XTZaIWYDR1 sP3VNqwg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGuCF-007OWO-2B; Sat, 23 Dec 2023 05:05:11 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, William Breathitt Gray <william.gray@linaro.org>, linux-iio@vger.kernel.org Subject: [PATCH] counter: linux/counter.h: fix Excess kernel-doc description warning Date: Fri, 22 Dec 2023 21:05:11 -0800 Message-ID: <20231223050511.13849-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: 1786047817352316203 X-GMAIL-MSGID: 1786047817352316203 |
Series |
counter: linux/counter.h: fix Excess kernel-doc description warning
|
|
Commit Message
Randy Dunlap
Dec. 23, 2023, 5:05 a.m. UTC
Remove the @priv: line to prevent the kernel-doc warning:
include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: William Breathitt Gray <william.gray@linaro.org>
Cc: linux-iio@vger.kernel.org
---
include/linux/counter.h | 1 -
1 file changed, 1 deletion(-)
Comments
On Fri, Dec 22, 2023 at 09:05:11PM -0800, Randy Dunlap wrote: > Remove the @priv: line to prevent the kernel-doc warning: > > include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: William Breathitt Gray <william.gray@linaro.org> > Cc: linux-iio@vger.kernel.org > --- > include/linux/counter.h | 1 - > 1 file changed, 1 deletion(-) > > diff -- a/include/linux/counter.h b/include/linux/counter.h > --- a/include/linux/counter.h > +++ b/include/linux/counter.h > @@ -359,7 +359,6 @@ struct counter_ops { > * @num_counts: number of Counts specified in @counts > * @ext: optional array of Counter device extensions > * @num_ext: number of Counter device extensions specified in @ext > - * @priv: optional private data supplied by driver > * @dev: internal device structure > * @chrdev: internal character device structure > * @events_list: list of current watching Counter events Hi Randy, Would you provide a Fixes tag for the commit that removed the 'priv' member so we can track when this warning appeared? You can respond with it to this thread and I'll add it in when I merge your patch. Thanks, William Breathitt Gray
On 12/27/23 06:35, William Breathitt Gray wrote: > On Fri, Dec 22, 2023 at 09:05:11PM -0800, Randy Dunlap wrote: >> Remove the @priv: line to prevent the kernel-doc warning: >> >> include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device' >> >> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> >> Cc: William Breathitt Gray <william.gray@linaro.org> >> Cc: linux-iio@vger.kernel.org >> --- >> include/linux/counter.h | 1 - >> 1 file changed, 1 deletion(-) >> >> diff -- a/include/linux/counter.h b/include/linux/counter.h >> --- a/include/linux/counter.h >> +++ b/include/linux/counter.h >> @@ -359,7 +359,6 @@ struct counter_ops { >> * @num_counts: number of Counts specified in @counts >> * @ext: optional array of Counter device extensions >> * @num_ext: number of Counter device extensions specified in @ext >> - * @priv: optional private data supplied by driver >> * @dev: internal device structure >> * @chrdev: internal character device structure >> * @events_list: list of current watching Counter events > > Hi Randy, > > Would you provide a Fixes tag for the commit that removed the 'priv' > member so we can track when this warning appeared? You can respond with > it to this thread and I'll add it in when I merge your patch. Fixes: f2ee4759fb70 ("counter: remove old and now unused registration API") Thank you.
On Wed, Dec 27, 2023 at 01:40:01PM -0800, Randy Dunlap wrote: > > > On 12/27/23 06:35, William Breathitt Gray wrote: > > On Fri, Dec 22, 2023 at 09:05:11PM -0800, Randy Dunlap wrote: > >> Remove the @priv: line to prevent the kernel-doc warning: > >> > >> include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device' > >> > >> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > >> Cc: William Breathitt Gray <william.gray@linaro.org> > >> Cc: linux-iio@vger.kernel.org > >> --- > >> include/linux/counter.h | 1 - > >> 1 file changed, 1 deletion(-) > >> > >> diff -- a/include/linux/counter.h b/include/linux/counter.h > >> --- a/include/linux/counter.h > >> +++ b/include/linux/counter.h > >> @@ -359,7 +359,6 @@ struct counter_ops { > >> * @num_counts: number of Counts specified in @counts > >> * @ext: optional array of Counter device extensions > >> * @num_ext: number of Counter device extensions specified in @ext > >> - * @priv: optional private data supplied by driver > >> * @dev: internal device structure > >> * @chrdev: internal character device structure > >> * @events_list: list of current watching Counter events > > > > Hi Randy, > > > > Would you provide a Fixes tag for the commit that removed the 'priv' > > member so we can track when this warning appeared? You can respond with > > it to this thread and I'll add it in when I merge your patch. > > Fixes: f2ee4759fb70 ("counter: remove old and now unused registration API") > > Thank you. > > -- > #Randy Applied, thanks! [1/1] counter: linux/counter.h: fix Excess kernel-doc description warning commit: 49ca40f8d6ceb76bff83713f79215d8e6252f045 William Breathitt Gray
diff -- a/include/linux/counter.h b/include/linux/counter.h --- a/include/linux/counter.h +++ b/include/linux/counter.h @@ -359,7 +359,6 @@ struct counter_ops { * @num_counts: number of Counts specified in @counts * @ext: optional array of Counter device extensions * @num_ext: number of Counter device extensions specified in @ext - * @priv: optional private data supplied by driver * @dev: internal device structure * @chrdev: internal character device structure * @events_list: list of current watching Counter events