Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp683781ybt; Wed, 24 Jun 2020 08:44:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyH7aAdXEOpBamblb/eQMFJxtEYREdb8RHMq9qIlNptHpPdKSlswwmpcty15O+Q8uJJT907 X-Received: by 2002:a05:6402:22b0:: with SMTP id cx16mr20158574edb.48.1593013470806; Wed, 24 Jun 2020 08:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593013470; cv=none; d=google.com; s=arc-20160816; b=B6/a5NTBKtHCTpPnPK6I16vftqQBuW0x3eRXyN/vjw66NwKcFwjdHeRhxUVZ7I6bZq leQIrW+YiSyfSZgDnx5rhufXnEB6Ix7ETBqapKOkXZhvp0ZR4mbv1Q2GFHoo5DWBsV4Z CPS6YzMbO9owfKHLv9XRFc6bEQ1hPE8dwUra7xTsWRrip4EGa/rP1bTeDAgPVIF7mTmh u7SvLIzvc6RnznBxzukWx1JfkWir5Pfo57jHQHY3yvQHhpvHNa6LT8chxBAgQoZokW/A spBonDPeS2AyVMF+oCpZk9PBc6WqjnOArrr+ANlp590BVBa1kXUgoeZ+LagHoHNNzqT1 7+vA== 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=QM8WHNX4JVzp1tT3alZnq1KeTZs+/wuqZ6hsAIKxcMA=; b=ImauLHgBEoVQwWUb8aIeS9r2EjjKeMG9MSJKbzkV2ogMhSVMPsoYtGAACwaQfFR0Zb 5uk1KcYDmLs6lmu0KRx71EAXWOxz7SFbbz2XjTDw8ko1xKcNTjfALUe+85fCAWvEnR3m CTc68HcPNwdZRl6RpwIOBFHcNCdsZr97p6C3C4qFFl7unfJ9PBrmMlJd3+kOqH8CXoTU pxYsQqOt0K62bzlDjv10mnOevrYbue6K/Vyn3Z8Eoya65CG0EebGCCmYBDva0YWkXdhC ZTKM39jEPv2VXkZbE14eUkEfs9o1WrXpJcCJ3GGykGKniU1qYAGoczGWphsPP+Bc4yrK 1Ulg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Olmv6gOF; 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 y10si9205175edr.504.2020.06.24.08.44.07; Wed, 24 Jun 2020 08:44:30 -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=Olmv6gOF; 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 S2404293AbgFXPnZ (ORCPT + 99 others); Wed, 24 Jun 2020 11:43:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404253AbgFXPnZ (ORCPT ); Wed, 24 Jun 2020 11:43:25 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C832C0613ED for ; Wed, 24 Jun 2020 08:43:25 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id u26so4783667wmn.1 for ; Wed, 24 Jun 2020 08:43:25 -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=QM8WHNX4JVzp1tT3alZnq1KeTZs+/wuqZ6hsAIKxcMA=; b=Olmv6gOFR6NbOAqgFzCBJx/sCYV/IREx2uVFDnyNUpwSY/mDxH4RQEaIIqwkxB4ICw OmlyLQtUPS7BKq9rjxqW7PsmSayRlxNsp3CBwqOphzrTJesmqsd/9oNQrA3IlpYUW0PZ fudSy31IumvzQrnLbUbjZSN5JGU9DP5XWjcMbAryKvmqsYifSefNVUqu2Su8OXQvPMVE dsVZolchYV5cK7gk0/DRSho+Ia0WuTzYBvKGvhRhtgPUURP4Ndkk9KgCqzQ81nwD7C0z CNpkJgEMvLNJ4qfZ1RFZnaKXBpWwSTDYACp0W4/tSjgSY9pUvicATh27hnBP4HKau3Ho XwDQ== 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=QM8WHNX4JVzp1tT3alZnq1KeTZs+/wuqZ6hsAIKxcMA=; b=LjfApev1z5DupqBGM8J56w48c3mO4Y9maMPS9/Rt5Lo54P8gQAiM0kKrocJlU31SPh ClvNVj8o+mZRv2oiXpz2UYoObWXeklVqU7Q/nTNaxczz027DuOqBXJBU+e4Nthzd0Kyz TGEZgOqEySWR0i+obwz7rpWBKky48X7kAJP+NP71v6XGgs9DyLLkQ2Mq3nTC87F1TJ5i UTeAkHT86XIaxPEYpTX190sSdFtq2pyeCaucLXilOeWbJykMcZknV0Xq9pAeoK0z55Ts Y2qM48Ckpng3LZxjDGN8J87OA7XAvHJHqRo2mFSevMPK1yCHHAn4SDfQHvAKdAJiHfHU DEZg== X-Gm-Message-State: AOAM530byGlGtvkmyig3/CgvuTdmbD9c6N2tJxibVCdBpPB8fwJ/a28b eJb6zOBuPdAVelPJE4Q8wCFDeQ== X-Received: by 2002:a7b:c345:: with SMTP id l5mr32069049wmj.31.1593013403867; Wed, 24 Jun 2020 08:43:23 -0700 (PDT) Received: from dell ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c143sm8597840wmd.1.2020.06.24.08.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:43:23 -0700 (PDT) Date: Wed, 24 Jun 2020 16:43:21 +0100 From: Lee Jones To: Sam Ravnborg Cc: daniel.thompson@linaro.org, jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/8] Fix a bunch of W=1 warnings in Backlight Message-ID: <20200624154321.GH954398@dell> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624153216.GA1814806@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200624153216.GA1814806@ravnborg.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Jun 2020, Sam Ravnborg wrote: > Hi Lee. > > On Wed, Jun 24, 2020 at 03:57:13PM +0100, Lee Jones wrote: > > Attempting to clean-up W=1 kernel builds, which are currently > > overwhelmingly riddled with niggly little warnings. > > > > Lee Jones (8): > > backlight: lms501kf03: Remove unused const variables > > backlight: lcd: Add missing kerneldoc entry for 'struct device parent' > > > > backlight: ili922x: Add missing kerneldoc descriptions for > > CHECK_FREQ_REG() args > > backlight: ili922x: Remove invalid use of kerneldoc syntax > > backlight: ili922x: Add missing kerneldoc description for > > ili922x_reg_dump()'s arg > I wonder why these warnings show up as nothing pulls in this .c file. > Anyway I would suggest to drop using kerneldoc syntax for single drivers > like this - and the benefit here is low. > Now they are typed, otherwise this ahd been fine in a single patch. What do you mean by 'nothing pulls it in'? > > backlight: backlight: Supply description for function args in existing > > Kerneldocs > > backlight: lm3630a_bl: Remove invalid checks for unsigned int < 0 > > backlight: qcom-wled: Remove unused configs for LED3 and LED4 > > The other fixes looks good. > They are all: > Acked-by: Sam Ravnborg Thanks (although this should be Reviewed-by). > > drivers/video/backlight/backlight.c | 2 ++ > > drivers/video/backlight/ili922x.c | 8 ++++++-- > > drivers/video/backlight/lcd.c | 1 + > > drivers/video/backlight/lm3630a_bl.c | 4 ++-- > > drivers/video/backlight/lms501kf03.c | 8 -------- > > drivers/video/backlight/qcom-wled.c | 8 -------- > > 6 files changed, 11 insertions(+), 20 deletions(-) > > -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog