Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp473167rdb; Sat, 27 Jan 2024 15:17:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFL1lOxGZDbYBqYaCrEx4tZCjvXqv6P3JK27hMsqteu+4oesvXChKpFr1ClOtR3fvbRe1NZ X-Received: by 2002:a92:d389:0:b0:363:7b4c:71b4 with SMTP id o9-20020a92d389000000b003637b4c71b4mr153530ilo.26.1706397451345; Sat, 27 Jan 2024 15:17:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706397451; cv=pass; d=google.com; s=arc-20160816; b=xW/eqGiOIbpva9IEk+OTtZFRG7AbIH6KTJ3fustzcAELHxJ9I+9Pf8LhkHcNWRxHNA B2DhxvrUEaiQ4fKm7so4q7HW3wtNiOQode4JQxBnT4Sg8tDagC4gN24JavsSPgyf0aTN pTpiWW0PwWNP3pNMjM+Fo5McAq2uIPOad4WUn6+NwQOOgWNtJIkuTPD1iNCZxi/AZF2Y /fyMANyz7PaEPdhR7P+M/QEr9YEG/mM8WCNa5Vhn5Fugh3dfk3jjBcv2D6un76YzPTIM pvBIYfn0JtmBrhdcj5YKtj3BjOdjl1JUUhfeiKfVtYQ2GA0gSoQY1jjEdl6RunjNY2uo l1Kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UgXaJTakI/jnOXOUGRxa2gNJYjH8EmRpQFzJ2NpWJBw=; fh=43qt5bEh/T8i+Xs3BaYy3glMvk1qqb4r9qnG+yyuCf8=; b=QgICOG6vCOsLuDHkzLhBnbjh5g9zd6onRkiO3gAVopGr9HTDAX0JZ+fwTLKq+g5Z8S 5/lnI/zcMx9/krA/BzBolFXfFPrmiO45XNpPdZj5ccK7/3MVY+JJESdHAKYImCFfu8MZ QJhMK19I1Ds9O5oMoq8ck7cjN6zBLN2Sq4hF3K+1pv0N+zRo6cOMbzDxciL/thzftuDP +t4ZxE4KbA6UCkuhwTo12/gJq3/4tbc6fzjqkEXhrTDK/GA8rNja/JOuJvOcVShwuX7u 7+RBx9f/sjlrL5ouELfiBZp8YUFdXoMK3GybUH3sgi+zE/q4qhdTN9e9aDtZTpZxzRsF xY6Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SQaArEZ1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-41409-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41409-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b11-20020a6567cb000000b005cf58862d6asi1409806pgs.223.2024.01.27.15.17.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 15:17:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41409-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SQaArEZ1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-41409-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41409-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B1B25284418 for ; Sat, 27 Jan 2024 22:01:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49B171C2AB; Sat, 27 Jan 2024 22:00:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SQaArEZ1" 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 BD3251B7FC; Sat, 27 Jan 2024 22:00:45 +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=1706392847; cv=none; b=lWvJTR2KYSf62nwmZtWFZ5g7f8rZCEhlwuTPW/Uhidnq+yBqyAfTBs/JU23OLgVGBCPvGKFnLq3NRCuZIwX1qG1bpcTnfGQNLvCaNzHEA7iwgYUEtvDZweEVPNjQH1PhGSKSxVsnqkXLqpnlu0x/D4GzjCm9Wn2mPWtW7WgWXMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706392847; c=relaxed/simple; bh=BH807ZEe4kzGh8q6q/wKTV9roDmT0MIWgqFOcAqr9rk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cMkKhWBpUI0nnBECxjXb4nbO2ZWfVe7peogBbSLZaabLSv1j6h49WhLF6f23byWUwdVkcZKbtCRZt4VRJjarG60lNiC8333T3SfFxcGYkSM0OO//HuQjkLB5RRGXmiV40hHUUWLQKQgThaiIp3xxwi9WyuCDMxUXx+WUjV/nFMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (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=SQaArEZ1; arc=none smtp.client-ip=198.137.202.133 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:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=UgXaJTakI/jnOXOUGRxa2gNJYjH8EmRpQFzJ2NpWJBw=; b=SQaArEZ1SrmSba/8hhmR59xxF4 9+u+uZcTcgyKfNGWwgKkmb+s211o6z2GnjhdSlzLw5vUCsrUh/HOb+99FF0zIJ5ho2hLlF1aECAwO wA6wiCfGcex810HMIvfLsA8ViG6pXc4IcNFBx1pDb9XoYztJji0PbYPRL//zTTPqfwKShYKMYRJF6 LjVni5mjGr7wdnKb+vuMnbLbHS2cALSuD/tkkK/jwCaNRfFa0S1OX+IviOY3vWV+34rx8P97HqOFW pu8mSt/hk1DfzMl35N85/wCnQ/fXtliiUesiPHg8Ivrjlil9YVArGxGxMx03YuJuF74OZyofMbVj1 Eg7+extw==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTqj6-00000008FnG-0a1X; Sat, 27 Jan 2024 22:00:36 +0000 Message-ID: Date: Sat, 27 Jan 2024 14:00:34 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/17] media: i2c: css-quirk.h: Fix kerneldoc Content-Language: en-US To: Ricardo Ribalda , Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Sakari Ailus , Laurent Pinchart , Hans Verkuil , Hans Verkuil , Kieran Bingham , Bin Liu , Ezequiel Garcia , Philipp Zabel , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Sylwester Nawrocki , Krzysztof Kozlowski , Alim Akhtar , Marek Szyprowski , Andrzej Hajda , Bingbu Cao , Tianshu Qiu , Greg Kroah-Hartman , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-staging@lists.linux.dev, linux-amlogic@lists.infradead.org References: <20240126-gix-mtk-warnings-v1-0-eed7865fce18@chromium.org> <20240126-gix-mtk-warnings-v1-6-eed7865fce18@chromium.org> From: Randy Dunlap In-Reply-To: <20240126-gix-mtk-warnings-v1-6-eed7865fce18@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/26/24 15:16, Ricardo Ribalda wrote: > Kerneldoc does not seem to understand that embed doc: > drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'write' description in 'ccs_quirk' > drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'reg' description in 'ccs_quirk' > drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'val' description in 'ccs_quirk' > Correct. It's never tried to understand that AFAIK. > Convert into a standard doc. > > Signed-off-by: Ricardo Ribalda Reviewed-by: Randy Dunlap Thanks. > --- > drivers/media/i2c/ccs/ccs-quirk.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/media/i2c/ccs/ccs-quirk.h b/drivers/media/i2c/ccs/ccs-quirk.h > index 0b1a64958d71..392c97109617 100644 > --- a/drivers/media/i2c/ccs/ccs-quirk.h > +++ b/drivers/media/i2c/ccs/ccs-quirk.h > @@ -28,11 +28,11 @@ struct ccs_sensor; > * @reg_access: Register access quirk. The quirk may divert the access > * to another register, or no register at all. > * > - * @write: Is this read (false) or write (true) access? > - * @reg: Pointer to the register to access > - * @value: Register value, set by the caller on write, or > + * -write: Is this read (false) or write (true) access? > + * -reg: Pointer to the register to access > + * -val: Register value, set by the caller on write, or > * by the quirk on read > - * @return: 0 on success, -ENOIOCTLCMD if no register > + * -return: 0 on success, -ENOIOCTLCMD if no register > * access may be done by the caller (default read > * value is zero), else negative error code on error > * @flags: Quirk flags > -- #Randy