Message ID | 20231223194321.23084-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10572-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1839701dyi; Sat, 23 Dec 2023 11:43:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF800x6KLZZqJ2l66MGNb+S+nKmENGMm0ESyEbU0UQufrLo/BT2SFA3JQZWTrv0gMevuL+z X-Received: by 2002:a05:620a:31c:b0:781:2ab4:e121 with SMTP id s28-20020a05620a031c00b007812ab4e121mr3486799qkm.7.1703360618186; Sat, 23 Dec 2023 11:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703360618; cv=none; d=google.com; s=arc-20160816; b=soxPRG971XRs/RemXLPylphTkenDHqggxIPYYk8vHyl98OOGq7R7au8lMETe0IUh1L +uxZsDDXFG75Sqmp1torz5qpqKzvHM2Q7fdPEgG4uzjG3wnl84ABcnh6tkDqJ2QKYdhs OdzHwMN3LVDGMarOYyCTZPXUZjO/b8bXK90RxfcImA7lkW1RxnfflMXhr1v9AU/KBIlu ImnpnEZCZw+OdMQw2rBXeVrKfC99rhU4ZdOXhQckMB1gUyZdyZIkb1Id7qZzmzcLns4t WJRnwLYIVzY3CMjywMeOm2FfkVQmfe40qO2dRTj8otei6xaXtfr7Duevk5su6dElnOMe fV9A== 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=MZdAHr+wuYcdl9kCMiKRYkr3A+dIJpsdHYAKS3W+678=; fh=biMvvI+bkQLQDMIqFYGnV3mISTqR5EHroQE4OAti5to=; b=JEYWEJlNG6a+OjI+kK/iT6a3AsmhBy047HNz94vZ4BjpULGbb1+/Sd58GsxcUiE1Xm K6Cb2kAnbBfOVhGTs9Hs4VeUv4NojBCPJ9az8p7XQnOu8WZpv5Y5nIe44Cm0+bWcWRYU Pg7XC2T0QmpYFUyfCPAeO6lFtb99aLI2rViq/kqCAR8Ct2GPn/yMQrbsgimJx/0ugoU1 /MzlCl/x91pdbS59vk0+xw0aGTU/5AeBAH5an5QJBKoxLJ8xNOP5L+n7ukTdQQK7WmN+ d48dLJ5TzQJZY2h0hRZSHBQ5iMr81cm2JANWQIUC507X+YodXfbz5V7K1GD5FZpDkfZO FscA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=WA9pIvhm; spf=pass (google.com: domain of linux-kernel+bounces-10572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10572-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i14-20020a05620a248e00b0078137b394e3si2674065qkn.641.2023.12.23.11.43.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 11:43:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=WA9pIvhm; spf=pass (google.com: domain of linux-kernel+bounces-10572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10572-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 013101C21596 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 19:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C32A168A8; Sat, 23 Dec 2023 19:43:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="WA9pIvhm" 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 3842615E97; Sat, 23 Dec 2023 19:43:22 +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: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=MZdAHr+wuYcdl9kCMiKRYkr3A+dIJpsdHYAKS3W+678=; b=WA9pIvhmqSXZI2JumNvIHfsnFb moGWQEnZfNTZnV5mu0LqvmgSw6/9ZREovdLk348k9+iU/cRe1/0rEmVfU9m36/cU1w9xhPoheAosC j2xNWuODzXCXykdmbLEA18aVqDIWW1DnFJ7oZZTmyF79qILcyZlfmVbpri13Th+Mxbir/iU3qY2m2 hpIOeyO7u+zd4vNG+m5eDnIo1nkQ2CcvT6Na3ngLLr8zGHNZ6erpuXSKANabjpZ832lCI4PTTahS+ RZ8AU2JdBPFyvSJV2TgSBMPkkKc9gTYLq1IY+rEGN9Y4ukkCBxJrHUR8oPnCeK6KWNXNgTuWOiiLU syBm7fyg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rH7u5-008OuS-2a; Sat, 23 Dec 2023 19:43:21 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Armin Wolf <W_Armin@gmx.de>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>, platform-driver-x86@vger.kernel.org Subject: [PATCH v2] platform/x86: wmi: linux/wmi.h: fix Excess kernel-doc description warning Date: Sat, 23 Dec 2023 11:43:19 -0800 Message-ID: <20231223194321.23084-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786048069745718616 X-GMAIL-MSGID: 1786103063616945862 |
Series |
[v2] platform/x86: wmi: linux/wmi.h: fix Excess kernel-doc description warning
|
|
Commit Message
Randy Dunlap
Dec. 23, 2023, 7:43 p.m. UTC
Remove the "private:" comment to prevent the kernel-doc warning: include/linux/wmi.h:27: warning: Excess struct member 'setable' description in 'wmi_device' Either a struct member is documented (via kernel-doc) or it's private, but not both. Fixes: b4cc979588ee ("platform/x86: wmi: Add kernel doc comments") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Armin Wolf <W_Armin@gmx.de> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Cc: platform-driver-x86@vger.kernel.org Reviewed-by: Armin Wolf <W_Armin@gmx.de> --- v2: add Fixes: tag and Rev-by: Armin include/linux/wmi.h | 2 -- 1 file changed, 2 deletions(-)
Comments
Hi, On 12/23/23 20:43, Randy Dunlap wrote: > Remove the "private:" comment to prevent the kernel-doc warning: > > include/linux/wmi.h:27: warning: Excess struct member 'setable' description in 'wmi_device' > > Either a struct member is documented (via kernel-doc) or it's private, > but not both. > > Fixes: b4cc979588ee ("platform/x86: wmi: Add kernel doc comments") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Armin Wolf <W_Armin@gmx.de> > Cc: Hans de Goede <hdegoede@redhat.com> > Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > Cc: platform-driver-x86@vger.kernel.org > Reviewed-by: Armin Wolf <W_Armin@gmx.de> > --- > v2: add Fixes: tag and Rev-by: Armin Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > > include/linux/wmi.h | 2 -- > 1 file changed, 2 deletions(-) > > diff -- a/include/linux/wmi.h b/include/linux/wmi.h > --- a/include/linux/wmi.h > +++ b/include/linux/wmi.h > @@ -21,8 +21,6 @@ > */ > struct wmi_device { > struct device dev; > - > - /* private: used by the WMI driver core */ > bool setable; > }; > >
diff -- a/include/linux/wmi.h b/include/linux/wmi.h --- a/include/linux/wmi.h +++ b/include/linux/wmi.h @@ -21,8 +21,6 @@ */ struct wmi_device { struct device dev; - - /* private: used by the WMI driver core */ bool setable; };