Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4217521pxf; Tue, 16 Mar 2021 08:15:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP5SZPToC09Xv+8Z1Ngq2quHE5CvfW6qMlJL679uWlV4mYVQvpCsReXvinCSon3HwTNwqy X-Received: by 2002:aa7:d588:: with SMTP id r8mr36474226edq.88.1615907753822; Tue, 16 Mar 2021 08:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615907753; cv=none; d=google.com; s=arc-20160816; b=Tq1bteUJT/URtS097gjnSqvC4C9z4gO9Je08uWV39vfFv83XOUdNA8JdRr/Iyh1uNY layKbiSHGktHm4jtA3sJNUXa25e/TCVJnTRFgWJl2k2HXmkmZIIDiGg2RGRFN6qsMMTh FL2XUMMYutvXCSQsUTJw6epUkqtlsUnrU1o3eXO6GMGGJ8l0N3j1YBxjrEIamUdjKZhx QoqG72ZOCMvEZRgt3vTvtK27pILGdLQ0H7eV74XXwDuty3BR7N5WpWdsZ2emSle+G665 R86UcL7w1yW+mOG4ceJ1Ex9tPo5d8tYyLnNBMs/o6ohfSTbGb3blGE4aTISWxByvzByU Q09A== 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=TP1HV3NWFU9A1fInCeM4u3y5tCPNsxpAVXNKL5e46ik=; b=jOy5t9ahvcdEXqsWhBBjkWw/JZ8bFkIuY9OQeCWWMdBhx0FRCptROZ5H6Ev/AfOBT2 JFcMGOC2DBVOSkYsTNOrYS3c9PdzsJ1nVoA/btG+rJrELZTipyz+I9/KXvJKwZa0qlPn /g2jDYojTyaAnVmxpf2w4084vlToiYAQMxwdeT9fO5m/XMDkmcD7jabCcg2NmFvxHiMk nDH+ifcoKjSE10KmcMGA5V9fcZNd2EuGiG9w0p7YbFsTyN0GjASAdEf9E8Bv3zkMr88k 9gwf+zrZDxmfyRrBfPPocmTYZSYyoLJH+xH79VJmKXhiQlsE0i+WbMZN5ogLc0D7SVlz X5Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y5QeeLKg; 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 jo5si14948185ejb.644.2021.03.16.08.15.30; Tue, 16 Mar 2021 08:15:53 -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=Y5QeeLKg; 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 S235933AbhCPJzB (ORCPT + 99 others); Tue, 16 Mar 2021 05:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbhCPJyo (ORCPT ); Tue, 16 Mar 2021 05:54:44 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FB21C06174A for ; Tue, 16 Mar 2021 02:54:43 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id x16so7099816wrn.4 for ; Tue, 16 Mar 2021 02:54: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=TP1HV3NWFU9A1fInCeM4u3y5tCPNsxpAVXNKL5e46ik=; b=Y5QeeLKgnZZ/6kkOd3l2dwrFCg8dPhfJJhbP4AyjILyn+gHYT0OgW74fE8FkDBjq+7 vH0hRKMLqEFfkZerRFuNIBfpeW7obvle3bWfiRDE5BsytEuzSQLDSBqXQTguLD0x1dDL aZONvtP6w7S4Pxt3XioegS8L5xNELIFqMrEA+HRA58kW1OPsi/k1AZ14gcIWSZ8xWubO ep7nvAgV17IkhAE081tHv1dPIqZWD5kNWUNDI0vZLo30mIV+akbYobEdY9NT4jjuLb1j oY36wqLbu3RX6Swrpyir5cwT2vbyu8yHqTBcWmv/ei8RVW2Sg3NIr40CP1zEEtqbjudi 2aWQ== 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=TP1HV3NWFU9A1fInCeM4u3y5tCPNsxpAVXNKL5e46ik=; b=KHpXDjelSQv6z4gGCBZBi5rvegN7sf1MiWLdIUffA7/PKLcDNbuO/bdi0F9ZngwEB4 Svgn2tJh5AwDvGg/JEmLEiSJUqtYVgPdxXAuE1N9zxl1ovnNfaAgQ+PyhVz/bUNYRrRv dsyV2lTHRXWRzJeRrH8D4A0r5Nr3s3i/rpObr4WKsxfkndKsAk1T5gA7WyKaoBovZsrY p1hf8rRmax4SWMH44LJsEw32Flbyh1ojBJwTVG6DNwvpGe2Twp79Y3OPbMyovsr3pjqn ntrjhBmIkLPQst+2100Y21HYyE5ayztvOjRrIAsQHQwXCdADMTS1pAQ3e3z2RVMLe1aT 9Nrg== X-Gm-Message-State: AOAM533wxzLfAb9cUEiue8nqh0UMaes9KWJqBHc+OjaCDYOBnVmGy4K5 0vdE9fVAO7+W3XNcDdp+Zdh42A== X-Received: by 2002:a5d:560e:: with SMTP id l14mr3949198wrv.10.1615888482369; Tue, 16 Mar 2021 02:54:42 -0700 (PDT) Received: from dell ([91.110.221.243]) by smtp.gmail.com with ESMTPSA id f22sm2618973wmc.33.2021.03.16.02.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 02:54:42 -0700 (PDT) Date: Tue, 16 Mar 2021 09:54:40 +0000 From: Lee Jones To: "Jonas Mark (BT-FIR/ENG1-Grb)" Cc: Support Opensource , "linux-kernel@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "Adam.Thomson.Opensource@diasemi.com" , "stwiss.opensource@diasemi.com" , "marek.vasut@gmail.com" , "RUAN Tingquan (BT-FIR/ENG1-Zhu)" , "Streidl Hubert (BT-FIR/ENG1-Grb)" , Wolfram Sang Subject: Re: [PATCH v5] mfd: da9063: Support SMBus and I2C mode Message-ID: <20210316095440.GC701493@dell> References: <20210315160903.799426-1-mark.jonas@de.bosch.com> <20210316072143.GA701493@dell> <4dbc130e769547508be811e61a348255@de.bosch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4dbc130e769547508be811e61a348255@de.bosch.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Mar 2021, Jonas Mark (BT-FIR/ENG1-Grb) wrote: > Hi Lee, > > > Code looks good to me now, thanks. > > > > However, this doesn't look like it would pass checkpatch. > > > > Have you tried to build with W=1 and checkpatch? > > Yes, we used checkpatch.pl. > > $ ./scripts/checkpatch.pl 0001-mfd-da9063-Support-SMBus-and-I2C-mode.v5 > total: 0 errors, 0 warnings, 25 lines checked > > 0001-mfd-da9063-Support-SMBus-and-I2C-mode.v5 has no obvious style problems and is ready for submission. > > Using the option --strict we get a check hint that the broken line of the regmap_clear_bits() is not aligned. We tried but were not able to make the tool happy. This matches our experience with this check hint and previous patches. > > Also compiling Linux 5.10.14 with our patch and W=1 does not yield a warning. FYI, you should be using -next for upstream development. > $ make W=1 > CALL scripts/checksyscalls.sh > CALL scripts/atomic/check-atomics.sh > CHK include/generated/compile.h > CC [M] drivers/mfd/da9063-i2c.o > LD [M] drivers/mfd/da9063.o > Kernel: arch/arm/boot/Image is ready > Kernel: arch/arm/boot/zImage is ready > MODPOST Module.symvers > LD [M] drivers/mfd/da9063.ko -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog