From nobody Tue Apr 7 14:04:28 2026 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 C0B7821FF23 for ; Thu, 26 Feb 2026 05:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772082730; cv=none; b=gcvGrDF/2/JelX8WxLEVsrESs0lNdPJYrPY8/yCR7g88tRp7C1M9pMbAT8oQEWGevBfiI+TKd0vw5iJXUtfTRTqTqf2KEdaewU15i79xBtjuYJBwfVccKbu3CHuDs0KcXR1MEJAt1rx6XlPBGXwj8JMLQkYub2pHQi1Fxda8b/k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772082730; c=relaxed/simple; bh=CV1ZAr70jYYFFznxgeeDXqycwvr8qqr/fPRWS9PRYRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hI/rB94hKQyeMR3BoRBbasxmuZc1wMVtgpPI4/KuP8erHzrM8cIZ5SRyuATVDMoB7CDmUatrJ1xq4dki/H+Y13ADq8iHSgRiP7ZrMDpq+c3A1S3IXUByU4HwRlsYyLSO0D07zVEq49pK6nONjY9r4ssw/WmBcP+LVv4AW8Zg1jk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=k4mLFi/1; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="k4mLFi/1" 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=ejSmjxZPK1VAn8OyVU5wPueyqj4kbNgQIwUXaKSPlIk=; b=k4mLFi/1rFWl/N4LaoBOXqppkj t/DtrB/zIx/dzn5YjUybWGmatYH6tn3M0wj1QRwmzW+kqqFJd902ueJAXcqxuINLoP3badAl3YbiJ CRCaYXiUbvB0jnc7KlOnWodFOnv8yS7m95gE0XRSwurp0g+ngwmghNQSPgDIim2gzMbmvKgQTmhzL Y6ck1wkb6+xi6k/Y18hPvlJj/yg297Snn/7V5n9IXhguizt3/zKA91LwJT9YWL2mIbZ1Uy8LZX36p ind4H8U1JA6L5TPwhsnOaMxdRWVPa633ldrH9d9jgZ+VWyrccLaTY+AY2NN1xxI57TeLLpaBUvWbv ovKEJ4HA==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvTfU-00000005PKR-0dyL; Thu, 26 Feb 2026 05:12:08 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman Subject: [PATCH] misc: apds990x: fix all kernel-doc warnings Date: Wed, 25 Feb 2026 21:12:07 -0800 Message-ID: <20260226051207.547152-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Move a #define so that it is not between kernel-doc and its struct declaration. Spell one struct member correctly. Warning: include/linux/platform_data/apds990x.h:33 #define APDS_PARAM_SCALE 4096; error: Cannot parse struct or union! Warning: include/linux/platform_data/apds990x.h:62 struct member 'pdrive' not described in 'apds990x_platform_data' Signed-off-by: Randy Dunlap --- Cc: Greg Kroah-Hartman include/linux/platform_data/apds990x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20260225.orig/include/linux/platform_data/apds990x.h +++ linux-next-20260225/include/linux/platform_data/apds990x.h @@ -31,7 +31,6 @@ * itself. If the GA is zero, driver will use uncovered sensor default val= ues * format: decimal value * APDS_PARAM_SCALE except df which is plain integ= er. */ -#define APDS_PARAM_SCALE 4096 struct apds990x_chip_factors { int ga; int cf1; @@ -40,11 +39,12 @@ struct apds990x_chip_factors { int irf2; int df; }; +#define APDS_PARAM_SCALE 4096 =20 /** * struct apds990x_platform_data - platform data for apsd990x.c driver * @cf: chip factor data - * @pddrive: IR-led driving current + * @pdrive: IR-led driving current * @ppcount: number of IR pulses used for proximity estimation * @setup_resources: interrupt line setup call back function * @release_resources: interrupt line release call back function