Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp623775pxh; Tue, 9 Nov 2021 16:21:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7SBRv5VBkIRLjdr8I+MUU/+e02PWvad4DL9JfMLodilp5YO5x5/QwbX6iq13+V3FqeJLK X-Received: by 2002:a05:6402:90c:: with SMTP id g12mr15948045edz.131.1636503712279; Tue, 09 Nov 2021 16:21:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636503712; cv=none; d=google.com; s=arc-20160816; b=k5vVmgiBlFH7H0WuOQXWCeLjcCWd3T5YZf0fHlsVVtbbmR+GG3PnuhVqMyWle9lxLj TZMGIwXhvqtAIYLZvXsFI2cMDES+EPrPpC5qdR5ITSXWGK+zMp/0/h9XwNhqea8XwQW5 j8Srol9JkCGFATXIEDh1PZ8OIxEeFKBMSZ5X+CLawx0MkWdicMZyN3PPSMPz6VDS3j8u /WlFoWUZ4b1RB5D/nl/2w+prWgP2x9viwXpM3MtRquErlYh8nCs7u0fdd3pnIZIOgI1t Az5hEBOl8IO5XlrjECg5o5ljpnmDyGfAO2o2LM73th4gTzEAEClhWV8HuyuMVTJp7Pzd Zikg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=YJ8t68+R8p8V4euK5x6UHBMgUMM6hiemj43DjNK0/OU=; b=VWI8+t0f0RuvIx7wqYoEq+TZUCbZmeOqCBWrdmLBF3yBSHIFtBkzdDFmhStAd9xNJC 8sM/L15Q5CtnLcgU6R/aToN4An4a4m8gCAHg5SwNCNUoZrHwCs4Vh3/K7U7HWr8AOV2B RDDno9IcNutgEjeT2W5UK7kMt5eaaG6/F6KzzUYPaTv8aBOkWC3JwqggSCv2m+n0+MUk zjTSzFnmWlO6+PTn8AX3XdxaHqCk04OPveHA/kurzJxXMeuIxtQmDK+o7boybLRrsM3c N9JujIHVQyMncpQZl0ZjTV5CR2ciXqhVPneShoDJ4P/OmVvIIr5d5/elsGjpchg2eV6W LtJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=mQfrWwkX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si31813926edb.567.2021.11.09.16.21.24; Tue, 09 Nov 2021 16:21:52 -0800 (PST) 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=@infradead.org header.s=merlin.20170209 header.b=mQfrWwkX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245019AbhKIVX1 (ORCPT + 97 others); Tue, 9 Nov 2021 16:23:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239453AbhKIVX0 (ORCPT ); Tue, 9 Nov 2021 16:23:26 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1234::107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C96C061764; Tue, 9 Nov 2021 13:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=YJ8t68+R8p8V4euK5x6UHBMgUMM6hiemj43DjNK0/OU=; b=mQfrWwkXZhYExKLiF38/BNvmpo agZDt/92NE/8oxKmxcYlbnvXtsArRUrRBxEbWF8MGnWEAUEm6IyYRcqeSa2ZSg6ylXMpoytEa5asH TYnLD1KxtgHYc2H3z5S8FZphUb0q+7AeY3nblgh1B3DaljI6TbQlPlXmN1ZAWMIteXQrI7ZG2nWk9 EIAYLtGrLzd1CpSpG8ftE35pSJRTI39jRDePKDVprSONdbxPi+unJ2IEQrMc06tlzsJgl3HmM/tWO DmdvperznvFdul5JOGUnWOKg6EbJV7ffng5AimNVPPe/NUQAyIHZ8PRfBV7VncZOsyq788E5b/jSL QfQDoODA==; Received: from [2601:1c0:6280:3f0::aa0b] by merlin.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkYXT-008p9I-Sq; Tue, 09 Nov 2021 21:20:27 +0000 Subject: Re: [v2 10/10] iio: imu: add BNO055 I2C driver To: Joe Perches , andrea.merello@gmail.com, Andi Kleen Cc: Jonathan Cameron , Mauro Carvalho Chehab , linux-iio , linux-kernel , devicetree , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Matt Ranostay , Alexandru Ardelean , Jacopo Mondi , Andrea Merello References: <20210715141742.15072-1-andrea.merello@gmail.com> <20211028101840.24632-1-andrea.merello@gmail.com> <20211028101840.24632-11-andrea.merello@gmail.com> <85ef90ad-0d3a-6cb7-529f-667562b2ad71@infradead.org> <021c6fe0-8131-a4f9-9cb0-2f4771d35da1@infradead.org> <80960e445c986408e4ae9a20ac42c5b66d4d8046.camel@perches.com> <4d812d76-07ca-1eb0-407d-78179628f0ba@infradead.org> <846fb6e2b711ca09b89317d0117826eafc9f5b3d.camel@perches.com> From: Randy Dunlap Message-ID: Date: Tue, 9 Nov 2021 13:20:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <846fb6e2b711ca09b89317d0117826eafc9f5b3d.camel@perches.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/9/21 12:46 PM, Joe Perches wrote: > On Tue, 2021-11-09 at 11:11 -0800, Randy Dunlap wrote: >> On 11/9/21 10:21 AM, Joe Perches wrote: >>> (cc'ing Andi Kleen, who wrote this code a decade ago) >>>> Joe, can you identify why checkpatch does not detect missing Kconfig >>>> help text is this simple case? >>> >>> Original patch here: https://lore.kernel.org/all/20211028101840.24632-11-andrea.merello@gmail.com/raw >>> >>> checkpatch is counting the diff header lines that follow the config entry. >>> Maybe this is clearer (better?) code: >>> --- >> Tested-by: Randy Dunlap >> Acked-by: Randy Dunlap > > Hey Randy/Andi. > > I like this patch below a bit more. > > It shows the Kconfig context block in the output message and > documents the code a bit more. > > Care to test it again? > --- > scripts/checkpatch.pl | 53 +++++++++++++++++++++++++++------------------------ > 1 file changed, 28 insertions(+), 25 deletions(-) > Same tags from me, better output. Thanks! Tested-by: Randy Dunlap Acked-by: Randy Dunlap -- ~Randy