Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1332863ybt; Thu, 25 Jun 2020 03:36:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0H9Zt1sqQCKC+vbZEwp0KKirETKqvV04dTq9dcqBQ3XcC3OLqdfA+/6bNcgtxit2y3RlO X-Received: by 2002:a17:907:2163:: with SMTP id rl3mr2031853ejb.409.1593081404868; Thu, 25 Jun 2020 03:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593081404; cv=none; d=google.com; s=arc-20160816; b=ke4dp+jivj82UJ/4bgdFqSNTW9We/xsAACf+zDFke4Bie217xkidYali3ve5k8jrkY FlG8zyQijwwD1J0e7ubVpMO+GFATyBSjdon8sLQm2J0XK+itFoq2f9v/s0KGq+8wmNd+ L6KUYEmGN73yalNWgupQ3lX2c/zAD2TKDgTwKb8fpEH/B13WsfHpqjsmqCaV6L5VERRs 7rXlpU79kVdmnEK2zMTyTTPhmUiyP732HiIzWejBvVD9Kw31Y+Q0jR0cgkgJgOO9ZBha bFuzfxcPGX1vPmF0539mdNsRYjvyKQ5CDwfs1wlYcIHYemI8JOrFQFrrA8lkYXBmRsin FOzQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cwS7iBZ35KlWA6jBEXe+RY7hU/oltm4mf+ZLVTmBHbg=; b=fno5CnspU4EFxir5zkoE2uAj0kFpWnhLcbzghrsbMkkSYUVVZ7eV1Ki1vtjD0W6jXW qyGJ7yILYtXMl8Rr7DGlAJUXt1dQx6LdaA+92ZuCKySM7ULLRcZNumz3YUdgExVYQTH2 +1evWMMBL7/FjTrROCsh2kXF5jDM7QuYUqmUnSTXCA569RI65Lcdo1KmrfUFkAcX0F2q Y6mFA+8RLql/P8x3Tg6mFBcBA7/WALfhqxMHtmpIfGK43pXBLEk62rOKH8QBB+RIeq+3 pw9T7k1y923l2t3jMrjARdr+F3vPHeYprPrPal2Rsp/BHeQ9FqCiXhKBGl9M3PkGK9Wq Jnkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ckSbRH6Y; 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 z9si14327413ejm.47.2020.06.25.03.36.21; Thu, 25 Jun 2020 03:36:44 -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=ckSbRH6Y; 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 S2403970AbgFYKdk (ORCPT + 99 others); Thu, 25 Jun 2020 06:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403816AbgFYKdj (ORCPT ); Thu, 25 Jun 2020 06:33:39 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFB50C061573 for ; Thu, 25 Jun 2020 03:33:38 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 22so5044300wmg.1 for ; Thu, 25 Jun 2020 03:33:38 -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:content-transfer-encoding:in-reply-to; bh=cwS7iBZ35KlWA6jBEXe+RY7hU/oltm4mf+ZLVTmBHbg=; b=ckSbRH6Y9xOKw8TwFf5S6Fhk1vOPMMffz1PvAsd5fQkuEUwGeqv8ZMfu7b4VseJXq+ Q+Zwl6jtJPG6b8nC0vUNjXsuJBAHkcblkb0pQgjxdlrWuvAO3vVH5EOdN8ykR1fFNkO2 0Y3+9hQyIHdmKpwtONksi/eq/d8zwBaAwnMZiCl2cMapDRa21bVFWnrvJmrLcOy/lGA5 r1jIAR/pLarr4nRMPCFRPDiBFXE3KVAPa2+iPKV0c4lCbi24fnFNTvU8a5C/BFnrqmFF NBvqmgslp9dIo5O2WX8S0qZbHFB5FnOKAffE3NigkrXiKcASZlQGDfgOFNp/1b16IVxq irbw== 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:content-transfer-encoding :in-reply-to; bh=cwS7iBZ35KlWA6jBEXe+RY7hU/oltm4mf+ZLVTmBHbg=; b=rNUUvuSJ/SOcYxDx1h18mfFXnCWjk6M11WZBMGz5dT+hB+hcaKqzkDCMqg6rkFRiw8 xX4cxRh6rLoYkWWNkyR0odVwOPf81+ZMcWm863NEToxvXTFlHOUmgn9ntUduxgSZn26u cLEHO8CpDOWupH65BFMxNXzrCcSzZlcDBaaj+XMI1EnPBf4dMLcG2zbuoMO/q80cQLdk cPKEVS8EY7wG5eLm467PDhAxSkb3Px2+K3b/alLcJXBuZvMLdTln6Cgo1xiKqfng5HJ0 rAmvmC/U5i6iXNSuht6IIfT74igkPWvAFfql0FBrpZ1ktRFrGT/pvwqvChf0wZF4mDnK r98A== X-Gm-Message-State: AOAM530vxvDO1NenMb2ZnAeNsXcmAZIAhb8Qp05pZaJx81VtmmRU4S8h dHkplIir+J71Hmb5CV+t0Q82Gg== X-Received: by 2002:a7b:ce97:: with SMTP id q23mr2641581wmj.89.1593081217260; Thu, 25 Jun 2020 03:33:37 -0700 (PDT) Received: from dell ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id t4sm5852497wmf.4.2020.06.25.03.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 03:33:36 -0700 (PDT) Date: Thu, 25 Jun 2020 11:33:34 +0100 From: Lee Jones To: Daniel Thompson 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: <20200625103334.GO954398@dell> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624145721.2590327-4-lee.jones@linaro.org> <20200625094051.u4hanl3rycczlwiy@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200625094051.u4hanl3rycczlwiy@holly.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog