Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp447260pxf; Wed, 24 Mar 2021 08:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtERzQwJPveXRoN/nFiX9OXRxwfN/sLBH76DKAAJdU3hFy2Kriz1TgC5CaKt5iU/7TFk1q X-Received: by 2002:a17:906:58c9:: with SMTP id e9mr4117120ejs.26.1616599084293; Wed, 24 Mar 2021 08:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616599084; cv=none; d=google.com; s=arc-20160816; b=NPk/Pmdpw2XA6O1ONftThOi5Ja+5pVIatM5QnoQKnl0pohbcLveSZQLiwyPl/Nen9v srPZXQ7ouPWcog89/eNO160RR+DVqUet/esrV66ntKC563MY8vAXHdmm3zKOkf85LUo9 TGGpGgTmMB5yd3eKSuLoac4XNCDbgUL/4APHuPcFoaUiX5YmGdFSPqhfyYd4pBi9V0+8 YdtgZjwU9o10TG+fwmIswiluBdhotYwTCRgZvGSbCAL2zFdTYtigzCE1j5E0FBS6mWrD 73A8HpQneM01nKopwuzlDztkY5QqiP1un2EVAjRGGHl+oRakv2TPwZyzD+mQrc3heBrM UgEA== 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=rpBp7AJWNevm6XgUCf8It0J8VZS6BW6Ytb0WBwtBHdg=; b=Pn8ZB8Kl0TddprEVPP+GsjBnRy1qZDyvhhHg7o9oVHSA3q371orTC8o9ZtNvQZLlPk Fcnlh4wZihTvwHmIrxuxWjISRxvFnz6tCiyURQvVSPnxsqeoybo12T2A6NtNaJp0G5bZ Ex/KpljaEu/MYwILd3kjTp+sUHqUHdiQVU21FYImhAi10IPjxoh+bzm/BhYEK9SmjPxp FQaJfIv80ao6i/Ct3lhJvaPHXTY4y1BMSvhWwrP41tFnQ68/L4w/0rDSWk6Ci+OXZAPA so5s820hUSthxMpAu74ZIj7mritlJtqgOARTnPIFI5R83jvnDpGfBvu79/bl4zLf9zCk wocQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x11HJDqt; 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 fn3si1770428ejc.182.2021.03.24.08.17.40; Wed, 24 Mar 2021 08:18: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=x11HJDqt; 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 S236514AbhCXPNP (ORCPT + 99 others); Wed, 24 Mar 2021 11:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236542AbhCXPMo (ORCPT ); Wed, 24 Mar 2021 11:12:44 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924DAC0613DE for ; Wed, 24 Mar 2021 08:12:43 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id k10so33508622ejg.0 for ; Wed, 24 Mar 2021 08:12:43 -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=rpBp7AJWNevm6XgUCf8It0J8VZS6BW6Ytb0WBwtBHdg=; b=x11HJDqtbJl0RTpUhMaDPb+kNEbmK+x5fbaCoTlVUixv/5/HaAKw5Dd64BEzGfofMF LsiqJbFAT9WHMm99hUYfuEDak85bttisRRf9s3bKL1BN0APkM6sylKDQXTjUA0Krl8Ru CNoisLPabGDqyzctcBzGz4EvgUYvZqk2SWRCiURdFg9nCxJS8HTAaXAPUnlctXvSKYis c7Y1J7evNK9i4fQ+v/G861QyFoaqXSjPTaDoaVmX0cxcbv4WL0Bc/l+UY96uQjb99cE/ JMlR8tw9iWKmc5qM/OEANq7az5sws7cbVpl3zl7rP3B3q7hxIGB489EQwO6da6fmjrlw TkTw== 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=rpBp7AJWNevm6XgUCf8It0J8VZS6BW6Ytb0WBwtBHdg=; b=jXstVV+nu8nKTP7B+6EgeYwnZnXdzLl/3MDuNUBWX6UvqDYdFyqJa4wyQFAgTAb/Cs +JKpcCnT4jEUnAEhO0S+SHPNkj3yzvh0n5HIpIParX9AdKwrtS0Y1IBC4O9NMWWBgPbO RxJnUaq7b5ur1ATvH+/oAiaDFJWdplq5RtYbVuAR9vEcI2n5fxtuEf2bu3dmV/Cuhd4E uUPB9lOQj/b3BvgRAj9zDD1GcqxA1sYyZF/8z8MXSkzdlJZOOJOMmBS+qWKSQxWomr0Y aOnQI8vcUdoee266ByrP9AhtF1GO0klzTX1cURzLdErMhtSm9L/5VTQz2MMJrmiIGhk7 wGOg== X-Gm-Message-State: AOAM532uc3cIjG3GVi0WE8S5YDLLg/wA8eaDsQJj0++AOlx1wb+agABl TO/Q+pUE16Blg+B/d+MLqHBYeQ== X-Received: by 2002:a17:906:2a16:: with SMTP id j22mr4234588eje.247.1616598762069; Wed, 24 Mar 2021 08:12:42 -0700 (PDT) Received: from dell ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id q12sm1064411ejy.91.2021.03.24.08.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:12:41 -0700 (PDT) Date: Wed, 24 Mar 2021 15:12:39 +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: <20210324151239.GP2916463@dell> References: <20210318104036.3175910-1-lee.jones@linaro.org> <20210323083631.GE2916463@dell> 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 Wed, 24 Mar 2021, Rob Herring wrote: > On Tue, Mar 23, 2021 at 2:36 AM Lee Jones wrote: > > > > 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! ;) > > Hey, want to fix all the schema warnings for me? ;) Definitely not. I've even gone to the trouble of disabling them. :D > > 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? > > make htmldocs > > (with the DT files added to the docs) > > These turn out to be the tip of the iceberg. There's all sorts of > formatting issues. Tabs are a problem and the 'Return' section is > wrong. These are only found looking at the output. Heh! Depends how desperate I get. :'D -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog