Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp495099ybt; Fri, 26 Jun 2020 04:42:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCYP9MMBY2rF6dHMElQg6jAwXDZBekiRTEc9jpvZF/K+5udDgid55hf+Vkx6ryQiJn1+Z+ X-Received: by 2002:aa7:c314:: with SMTP id l20mr3025477edq.150.1593171724037; Fri, 26 Jun 2020 04:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593171724; cv=none; d=google.com; s=arc-20160816; b=Qey9LlJtkm00m0oYiqfD209Wx7PiFgFBz6PYP+HooezRyy3Y0+R1pRs4jFh0S+akqR yYXE17X3M1+CNoKQbY5aR0ept6N9OhNZP6V0O46flNIZAygI/Qyi/Fnaf3ukCVyVyv6M NR1KgRHEmIOmzSOzdOscJsrdZWznAEowTR7XWSocuVj/T08wGWNsgTxK1JYQ/0vvKphq Wsdf/j5CXI5zaUILXOblqE5RRsIzzXWDCm2snHHKlD9UNFXZPKjr5iKlmNEQom60nX9r w6ox+aZ448sKpW162/o9NI97J7t4H3f4aZg1DuqfbBwDzMHU0Ue1gh6EaI/LDmjvT0j6 D2Yg== 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=e00BIFKWHJ6YcMg9EPGjuy1Mt05P2nAv4zIuOyB6gn0=; b=YNftQpmqjU6tmmwiGjQd+9lu0AUY2hymQu8YiI3TEQMYkWVtDZstw3EG5Ns7hHqnMh QxE4/HfLsteZHe2TB0gmA0b4xMxGvncmNbAjE/BtuSLeScpvLIdOjAma7DauDQ/biG4N IM1GQa7HWuOMeorYrDr7X+2IRowZRIuVXGvKx1zngiF7jlCCv9wkHmwOwaupole3fHfP jeFQuL9aNd4OHos+5VzvJgrA36lAn5SIvnvkcHqTE9SlxwwJIre6IDMluNId4r6J9Rzh uPC9BztOZZ3EumqJLxl3HZTYjbLZzQiXvr38jltvJVIO1LpSdWsJbtl0Mj0SgR4209NN 9uJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kinKxjmE; 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 w11si2299734edq.29.2020.06.26.04.41.41; Fri, 26 Jun 2020 04:42:04 -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=kinKxjmE; 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 S1726875AbgFZJyK (ORCPT + 99 others); Fri, 26 Jun 2020 05:54:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726700AbgFZJyK (ORCPT ); Fri, 26 Jun 2020 05:54:10 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E94CC08C5C1 for ; Fri, 26 Jun 2020 02:54:09 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id f139so8768266wmf.5 for ; Fri, 26 Jun 2020 02:54:09 -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=e00BIFKWHJ6YcMg9EPGjuy1Mt05P2nAv4zIuOyB6gn0=; b=kinKxjmErW8QqeKv+vwukdSrfKkrbB8o0iVWzRuEXs3OFXf7u6MnH4Kg7U5g0REsV/ 578rsYOmgZeG/fLiyvY8FlLKUXZRVs8qlITYyAo+TY9rQJ3AB44b+px2fXUv1amtwNv3 dTs/AyEO3EXnqNAdlLk29enj+r+Hul7vvfqB1Bqszyw69P3d5+ZJac7DwFnyxXozNo6W bqHkPDFe0+AxafWEWVFftHIHOz8GmAsuI9yvCKRVtTgFM6VZnzXpnl6cVx1zBeHAF4sS bNcRZSWzPvjS0Ut+6KDTjatPpElQI6pZt8lmx7mf5yOH7eAnHNyy5nNX41ZWheDmxfi+ Unnw== 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=e00BIFKWHJ6YcMg9EPGjuy1Mt05P2nAv4zIuOyB6gn0=; b=taMz3PB91CVLUHV70rofTQFMAHnQfhQfOo56+g1ge6GrkBMCyA/m38gohOp4VloTLs Dbe6X2lP9a+lXBr9eMBuBsydJuf/wK2p16gSDYBRwr6WbVsXP+btSC9WFMuNhK+KUib4 ffgx7mqMkrD6T1C+vDH+UsUvAq11jc+nuQRkzyNhR5oVOEM9s6mtBPXTtR1AziSKa+Bk BrEjwqmirW47oJQH02xTMCIY2T8cskFScBBlD+bnSx3Uj6LXatr7vxKrcT65stvvxg5P IVBsVJgHURpLkHNX88Bf1xwxK9xjSs6oimmzJjoUcQa/awJlwv4iTnD15W3q3Ipk6qa5 Uj9g== X-Gm-Message-State: AOAM532PCij+QL9hreQs7qKhvid0QKTFQqXhz8j9eahvlXBDLWwaRWc/ Yqv+MY3qCQZCXfhTlzLbnaXS5w== X-Received: by 2002:a1c:2982:: with SMTP id p124mr309487wmp.26.1593165248166; Fri, 26 Jun 2020 02:54:08 -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 x7sm37219108wrr.72.2020.06.26.02.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 02:54:07 -0700 (PDT) Date: Fri, 26 Jun 2020 10:54:05 +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: <20200626095405.nzhqsfjegj6qg2ro@holly.lan> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624145721.2590327-4-lee.jones@linaro.org> <20200625094051.u4hanl3rycczlwiy@holly.lan> <20200625103334.GO954398@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200625103334.GO954398@dell> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 11:33:34AM +0100, Lee Jones wrote: > On Thu, 25 Jun 2020, Daniel Thompson wrote: > > > 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. > > I figured that using the official description would be better than > making something up. However if you think it's better to KISS, then I > can change it. Yes, I'd strongly prefer KISS here. I know it is an "I am the world" argument[1] but I found using such a dogmatically accurate description out of context to be very confusing and therefore I don't think such a comment improves readability. Daniel. [1]: See #3 from http://www.leany.com/logic/Adams.html