Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1310333ybt; Thu, 25 Jun 2020 03:02:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK1ZcDVZyjgTTBrwDQE7OBJ1bPLgWF5Bvx+s/fMlzEgAraJgGYt5RKHsJof7uE8/3tDsbS X-Received: by 2002:a17:906:fa13:: with SMTP id lo19mr20235673ejb.213.1593079340710; Thu, 25 Jun 2020 03:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593079340; cv=none; d=google.com; s=arc-20160816; b=UrBYDm+hxTuL9OKXGu/QoAw/WNgMKL6rT7F3uWBQ3qybeIT9FL3MoTzWqT0ccC/9WX rzZFW/5Jnonm5M993dcWGhpEZSXVCgAEK/ZDDlzfY1fGGZJh6CIg6ca/pzZ02fHQfjJ/ qa20qe/VQkdBlVfRH82A2RttK18xUdd58ZDx3hzeXg9g13sHIQYYkUeM3k2gm85QaKlP qCzbdJEq5G1jWWwqz3avsesiWrvsC1IJql8zDOIy4fW7Qon+Q42KeyPHsGn0NKufzCWp rSGzrsboWyRzPDSfWeinT1p27i4pYLoqok9bqAPNKbjJwqLEGGYdUPvcSYYgx+NAk8tr yV1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TlmH6CUdIAxBdzHoXkJA+99qDumm1XXj1357pinG+ZI=; b=NK2CWpGF2ZMcLA5OlynI+zU41W0Z3DfHjRQD79pAGXZOm2QfKhArKe1+WdYCI5+QZD rdJbFjF8DuUttzJsmo5T0g0+uG00sTluyIlosPc2JNIBnDypFsrgCg/UIZpSqdOnMh16 Xc0KVxfz5N1OpdIKy4PJgUXjHMvMcmSUwuQIODYMB88HOwRKv89WYmuiYzMl7uAGsPlX NMDHiZBvavYg4hvDE3pAbwEZSy9J4uhskDN8txDysFPodhRSF92LN0eHy1OI3wiMSAKG knT4XWRSDkc/zRY5PT8cMx1HiBNrZ4DVgnfpmIwD4hTJAM7DARnoKDifuLIF11tejpNj IA5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YcmE+Im9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb15si14283696ejb.478.2020.06.25.03.01.56; Thu, 25 Jun 2020 03:02:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YcmE+Im9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390943AbgFYJk5 (ORCPT + 99 others); Thu, 25 Jun 2020 05:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389532AbgFYJk4 (ORCPT ); Thu, 25 Jun 2020 05:40:56 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A744C061795 for ; Thu, 25 Jun 2020 02:40:55 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id h5so5126711wrc.7 for ; Thu, 25 Jun 2020 02:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TlmH6CUdIAxBdzHoXkJA+99qDumm1XXj1357pinG+ZI=; b=YcmE+Im9XZ7cBXoYmYZkFd+TUXCQKZaFtyX9M0aBLCnTaDtwFXG10K875A7mhoZgFt 71yo/XAjAgPkE6om6A1NlAGHl5mT5y+rnAdDz3TI3Bz7sJi8vkncQfEH9CTwuAIpUyc0 fbTj0m2ZDGn7crejTzpH8uULmP6iMzU3QGX51+wJhV86k/NL3gAuPAKmhU89hYWVGoxI ddnqMAc2yOq5YxlYo6U+wHMioDAziVOu84iKChzwHytbpmGwuL5s1IZt26PKbH5oM4+T 8rbFbtcP259jH0szLCcN2Snog/qW6IEqmYSOkq1HVbKvvLIkllftm6UYFoAOg6mchBRA yk6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TlmH6CUdIAxBdzHoXkJA+99qDumm1XXj1357pinG+ZI=; b=D9r9kB+gS3B3rYAbJbb2hd03lfKS/ldD6xHw7cfYhvDMgqfQyUh5TjEs+o/9iEbl04 agp1oF1AGNnTaHd0mGaynuC1QYPa01i7pCMQlR0P/Upg+wqbwzWozQSGdcSorVbyL2PV s9n2CBakoldUc0o894UcIXJfY/65ZfOB+aeUKpPtVw2//8YXeo/QhsJ0uqi4kVQKuTUp ZSTu9sOt4OY5ylskwAoDr5MpRXHytQA0gYSQ+1zpGXmc86rc0DumiAbOe5HPwQc3lqPz V+PIiCUt0HTZHLzBHVTia1cM7ptjg1Yh3rmctVdTfSiNYZ76HGV8coFuyK66VfnFW+1N n6QA== X-Gm-Message-State: AOAM530rGCL71U+5Rv7TeN0m3Ar/snNyM2D1M3cFcmR80YnCnskUuf7r LM3cTI+/Sl28bxFNrbKl0bKJHWcrK44= X-Received: by 2002:adf:b608:: with SMTP id f8mr36492832wre.363.1593078053819; Thu, 25 Jun 2020 02:40:53 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id d9sm30518424wre.28.2020.06.25.02.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 02:40:53 -0700 (PDT) Date: Thu, 25 Jun 2020 10:40:51 +0100 From: Daniel Thompson To: Lee Jones Cc: jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Bartlomiej Zolnierkiewicz , Software Engineering Subject: Re: [PATCH 3/8] backlight: ili922x: Add missing kerneldoc descriptions for CHECK_FREQ_REG() args Message-ID: <20200625094051.u4hanl3rycczlwiy@holly.lan> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624145721.2590327-4-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624145721.2590327-4-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 03:57:16PM +0100, Lee Jones wrote: > Kerneldoc syntax is used, but not complete. Descriptions required. > > Prevents warnings like: > > drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 's' not described in 'CHECK_FREQ_REG' > drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 'x' not described in 'CHECK_FREQ_REG' > > Cc: > Cc: Bartlomiej Zolnierkiewicz > Cc: Software Engineering > Signed-off-by: Lee Jones > --- > drivers/video/backlight/ili922x.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/video/backlight/ili922x.c b/drivers/video/backlight/ili922x.c > index 9c5aa3fbb2842..8cb4b9d3c3bba 100644 > --- a/drivers/video/backlight/ili922x.c > +++ b/drivers/video/backlight/ili922x.c > @@ -107,6 +107,8 @@ > * lower frequency when the registers are read/written. > * The macro sets the frequency in the spi_transfer structure if > * the frequency exceeds the maximum value. > + * @s: pointer to controller side proxy for an SPI slave device What's wrong with "a pointer to an SPI device"? I am aware, having looked it up to find out what the above actually means, that this is how struct spi_device is described in its own kernel doc but quoting at that level of detail of both overkill and confusing. Daniel. > + * @x: pointer to the read/write buffer pair > */ > #define CHECK_FREQ_REG(s, x) \ > do { \ > -- > 2.25.1 >