Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1565338rdb; Sat, 23 Dec 2023 11:43:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDcN1ZTYut+GBjGBEpH3jCtTQ5u4isHkC+ltSN++/4yUoE70CH6wsaXZpWwwSofTdtlr58 X-Received: by 2002:a17:906:1ca:b0:a23:5684:6106 with SMTP id 10-20020a17090601ca00b00a2356846106mr1884463ejj.89.1703360611146; Sat, 23 Dec 2023 11:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703360611; cv=none; d=google.com; s=arc-20160816; b=zMiUewZamnDiLbhwvratyN5HlwcMbzkTFcNpY/XEyOYGbbIqnGCHNfppnMonKALty4 oA5z9MMzdn26ibpeNPcI7WMRcD+LhVkzp7ns5tandZcqyb9vZx9BQiw6nnnGq93PGJH0 GFigM06tBmN7f0k8tsLEN7uFqB3459nhqBvQZyod5wn4ZZQYFKA4MheMaVuJ0TEq5Jcg CLeEW00Lq8dADxAPt1VghyjE5xAtU38ga27hL29eqsnmHsYZF4yxBWYbNnzx9Pfgq0lf wSvbBX43GB8wYfypFMU4J+QtcEikVojf7UL34ohd9O7FS8Ni0r3eiWouyPrHzUbYmFIS xcpg== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10572-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i7-20020a170906444700b00a235b96a597si3149089ejp.1012.2023.12.23.11.43.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 11:43:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10572-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10572-linux.lists.archive=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 E21EE1F2203F for ; Sat, 23 Dec 2023 19:43:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44893154A1; Sat, 23 Dec 2023 19:43:24 +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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Armin Wolf , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Armin Wolf Cc: Hans de Goede Cc: Ilpo Järvinen Cc: platform-driver-x86@vger.kernel.org Reviewed-by: Armin Wolf --- v2: add Fixes: tag and Rev-by: Armin 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; };