Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4070903pxf; Tue, 23 Mar 2021 01:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygnVMhzvs6zHA8aql7evcxWVodgXCLd1P3q5c1QOxJjtZ8sevtIGUtM9H2CfMokN6rcaqJ X-Received: by 2002:a17:906:94ca:: with SMTP id d10mr3770174ejy.107.1616488697872; Tue, 23 Mar 2021 01:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616488697; cv=none; d=google.com; s=arc-20160816; b=MkSCaUbBbIrsXJ01HMnlBr+jqYAkavbAKjZiJ3FBSqXf2xism/Ar8oC0nFtaZY+9LI Kuy8CjMRYOPzI++oIyZ7ecK/L/LQAf5TJB8gtyK3aoA4xyl7P8ZcMTtcCvo0TbvwNysq uL4+yOxrEHHBGbTkWCz2UKKVB2YMPYRVyLFs2kBvF2AwiK69PTDyxhxrqoL+xkMzgMYT emV0D6Ba4WxAFphc5ynGWIDGqhR4LstzHQ+lpJkXpRUbq7LwBuR9+KDkSJHY8AyizuZQ lmxVGvwoWv7VBPM8eo8t0ljXu8Hjja0ZPD4wmWfMOZVtP5/Ji/1PyPeSZaz3g8vnlYDn 9Wzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=f/MW/BemQ7oviNUfk5rw4aPJnsP1RW/2LEki39GacAs=; b=NwsHx562ANEUDgf9aicd4q5w1UwS+/aCodGbe+jsseHi12RVwZf2HdGpYKCo/JMXCT FOy2HwyKDHbGLmXqW8u/jKi+FSWnIONry5mUE+MUpsqZEf8MkGlrOouGoRBGJ3bP4I77 Hpk9lfja1oFvECbPSf+uptp1BA1dvlXFeUB66+vQAe1hIQnybKurTjHDuxHWSeQ3z74t T72NEIcYanr5gc+BxnEffuqEY1TsyOqqh1ZE5Av4ZgShuGZdBCXmp95O78b1YNnDEOpb n1yparVzA9gfVjiNplBCpWPXsBzZYEHPcUQfcbErXegscHrtfI2I3hF1U3EFl/PU7l81 Nqzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fZcQmN4f; 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 n14si12797626eja.11.2021.03.23.01.37.55; Tue, 23 Mar 2021 01:38:17 -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=fZcQmN4f; 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 S229592AbhCWIgp (ORCPT + 99 others); Tue, 23 Mar 2021 04:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbhCWIgg (ORCPT ); Tue, 23 Mar 2021 04:36:36 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFE2C061763 for ; Tue, 23 Mar 2021 01:36:35 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id y6so22477438eds.1 for ; Tue, 23 Mar 2021 01:36:35 -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=f/MW/BemQ7oviNUfk5rw4aPJnsP1RW/2LEki39GacAs=; b=fZcQmN4fiRh9DYTGxVh5vDvBACbVQQ5MSRBYb9xRO++y050pr6MI8DjQzDhrRT+Nlo 4x34B5H0SlRuD7RgdHqxAHFbnw1hbDX5ORMpbH7q7HXsFrt6Cd7mnjSzQY60lBscgNaE TJhLnc4Cf92bKNKIqJIfHvVxfapYGP+Q84hT/U6UMiHWju+UEoQ+FwCQbmRZnh2KQtd6 AERLKok/Ajs6uTvJJUk8/ptVm+4H2/vhpgkjuhqA7ceDqHSOVZAx3AsexbXKB9mF8/z+ hDX+4BSjpaCRzk42KeFVaOtCLU/kPFQOPz+i/ggEvAPxz+NOZaXx9fmL7GPIbQQ8Vabr fUOg== 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=f/MW/BemQ7oviNUfk5rw4aPJnsP1RW/2LEki39GacAs=; b=R1Kx1/Wjs3godALNnumD/Gi2a/wWnnZSJIVMup0c8TUoJrThRDZWz5ZcFGu2jGurhZ /35xJaM8hVXQCZfXf8AJhYv5jvZpx49afmz2bvQyyc1VQQfa0YK9ovrPW2M5uMppiZ4Y W70ong7raun20qmx1Lo16XIZ/zztbRz72PpQJsXuDiYQrUrf3+Pa0Q8AWAev8d4TumeP BcL4tGctYfDGYaMd7ipqO29fpvk2zEu0YraYJrCPWAXxmJiwjoa9G7Sn/cAmSYo6SAIH Ljz+iaFDltoDUzeN498Jal9chX0M5pTrZNUZKU2fDR6pjAOq/Pr3a4TYTlEPYPEcoWns 5/oQ== X-Gm-Message-State: AOAM531ObYiQIqQk/0IbbBSCzruRriL8/uwuM0SjVNDALx7XqciNtXlE 1NcBhK4mC4SGgU7AwQ/8V+VRPA== X-Received: by 2002:a05:6402:d4:: with SMTP id i20mr3509321edu.147.1616488594058; Tue, 23 Mar 2021 01:36:34 -0700 (PDT) Received: from dell ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id u16sm12990701edq.4.2021.03.23.01.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 01:36:33 -0700 (PDT) Date: Tue, 23 Mar 2021 08:36:31 +0000 From: Lee Jones To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , Andrew Lunn , Anton Vorontsov , Benjamin Herrenschmidt , Colin Cross , "David S. Miller" , devicetree@vger.kernel.org, Frank Rowand , Heiner Kallweit , Josh Cartwright , Kees Cook , Marek Szyprowski , netdev , Pantelis Antoniou , Russell King , Tony Luck Subject: Re: [PATCH v2 00/10] Rid W=1 warnings from OF Message-ID: <20210323083631.GE2916463@dell> References: <20210318104036.3175910-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 Mar 2021, Rob Herring wrote: > On Thu, Mar 18, 2021 at 4:40 AM Lee Jones wrote: > > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > v2: > > - Provided some descriptions to exported functions > > > > Lee Jones (10): > > of: device: Fix function name in header and provide missing > > descriptions > > of: dynamic: Fix incorrect parameter name and provide missing > > descriptions > > of: platform: Demote kernel-doc abuse > > of: base: Fix some formatting issues and provide missing descriptions > > of: property: Provide missing member description and remove excess > > param > > of: address: Provide descriptions for 'of_address_to_resource's params > > of: fdt: Demote kernel-doc abuses and fix function naming > > of: of_net: Provide function name and param description > > of: overlay: Fix function name disparity > > of: of_reserved_mem: Demote kernel-doc abuses > > > > drivers/of/address.c | 3 +++ > > drivers/of/base.c | 16 +++++++++++----- > > drivers/of/device.c | 7 ++++++- > > drivers/of/dynamic.c | 4 +++- > > drivers/of/fdt.c | 23 ++++++++++++----------- > > drivers/of/of_net.c | 3 +++ > > drivers/of/of_reserved_mem.c | 6 +++--- > > drivers/of/overlay.c | 2 +- > > drivers/of/platform.c | 2 +- > > drivers/of/property.c | 2 +- > > 10 files changed, 44 insertions(+), 24 deletions(-) > > I still see some warnings (note this is with DT files added to doc > build). Can you send follow-up patches: > > ../include/linux/of.h:1193: warning: Function parameter or member > 'output' not described in 'of_property_read_string_index' > ../include/linux/of.h:1193: warning: Excess function parameter > 'out_string' description in 'of_property_read_string_index' > ../include/linux/of.h:1461: warning: cannot understand function > prototype: 'enum of_overlay_notify_action ' > ../drivers/of/base.c:1781: warning: Excess function parameter 'prob' > description in '__of_add_property' > ../drivers/of/base.c:1804: warning: Excess function parameter 'prob' > description in 'of_add_property' > ../drivers/of/base.c:1855: warning: Function parameter or member > 'prop' not described in 'of_remove_property' > ../drivers/of/base.c:1855: warning: Excess function parameter 'prob' > description in 'of_remove_property' You don't want much do you! ;) Sure, I plan to clean up all of the kernel with subsequent patches. > BTW, there some more which I guess W=1 doesn't find: > > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:906: WARNING: Block quote ends without a blank > line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1465: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1469: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1473: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1517: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1521: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1526: WARNING: Unexpected indentation. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1528: WARNING: Block quote ends without a blank > line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1529: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1533: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:19: > ../drivers/of/base.c:1705: WARNING: Definition list ends without a > blank line; unexpected unindent. > /home/rob/proj/git/linux-dt/Documentation/driver-api/devicetree:49: > ../drivers/of/overlay.c:1183: WARNING: Inline emphasis start-string > without end-string. What command did you use to find these? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog