Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp976684rdb; Tue, 19 Sep 2023 16:46:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHcRvCXsjGKhFKAL2nQxx1V9uGuOwIGgX7em7kb+Uuk54yjDEzvODKgcP7uWr2k5rfD0v2c X-Received: by 2002:a05:6358:291f:b0:13a:319f:a56b with SMTP id y31-20020a056358291f00b0013a319fa56bmr1474141rwb.20.1695167195049; Tue, 19 Sep 2023 16:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695167195; cv=none; d=google.com; s=arc-20160816; b=S2GahkymeEWEgAQ/2k/yl2eDTS1EIkBLRy+8aH8XwCgTuJcLU5e4jEu6p1LPX9L61A 5ymT7wT96BajvqPqv5zOJ0c9p0Al+r9l05rCuYQdaOfXkciscdMkpSwp43JVQS0Ew47S KxuoiaJIaLEDIC5ncKOq+3SRKxOTtUl0mElYZFbFkW/ptQVaGZYCbZhC3xRizkFQZA+E JepIt9/v/fVo8AsyHckrSVfCbrDG/GZR/T31nUKePkzoV4GdQJSYh7OEm7BMB4JsltdX lsjavS+YZi5zeBFYJeVLLhuA8uOpEfKblmEYtFN3/1Ii9eEA7H15YPG350DdCgpmMhN1 Gfkg== 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=4xfXmpSElgdaEJpweNGYYAJCrT7PCCcsTyHAzBPjf6M=; fh=7UNaTlcu7B+ImHu6dLeMSR61F2YNo25ESmqxy3qtrvA=; b=FNwES4u0KqTP4fBpplP6BEQO/mAi2RvvdWESTXOgiRr1on/E9zwIi3r7UTyaGL3Ldi kyPxItE0ullecwxCmDO/C8gSRAOI7TqLl62srqyMqlgEi9q8269MNuEn37QWaYRapkV4 FKU6Y5MSAJr8Vf+R3wt4ZzoHYeDaUgD70Nv5DGI6e/S4nKP/sewsun+1vmyMWUsvi7qE 6abloES0jr4Vfd3Dl2zztwfTyHR2XMRrUE8awIyuPPu8i3mfXApyO2ALepTlMzKkzV4U Grzx9R9u/cuxomVb6o1ncejR5iyCmhdCB3PUOQynDec8rPlEdGI98xfCo+zTE4iLdo8M B9cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=NA4gmUrC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l196-20020a633ecd000000b00578d016422esi911598pga.821.2023.09.19.16.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 16:46:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=NA4gmUrC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B7CDD80B5A04; Tue, 19 Sep 2023 10:15:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232023AbjISRPh (ORCPT + 99 others); Tue, 19 Sep 2023 13:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbjISRPf (ORCPT ); Tue, 19 Sep 2023 13:15:35 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 616F0DC; Tue, 19 Sep 2023 10:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1695143727; bh=ZECM0iIszLRK6JxiliXqM6gNdR0WNCsq3C/p8MYEDtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NA4gmUrCEKYQddDUZXd/IG9YM0AXgGNaSlKLK8/w1YkDZQXw7fwfCaizBBStqeue9 +pKLBUwYqivwKCj9Hya/nMDUr3pbnQHKyLF2jZN7aqP9DTEYIMUrOzllYY3ZF/IyBa gSJ7L2VFysnmXQsdb9w1p+xHK69oaOsWhwFO+I+Q= Date: Tue, 19 Sep 2023 19:15:25 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Guenter Roeck Cc: Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Gilbert Subject: Re: [PATCH] hwmon: powerz: add support for ChargerLAB KM002C Message-ID: <5fb278c7-df91-4f02-ab5f-baa47d27507f@t-8ch.de> References: <20230911-powerz-km002c-v1-1-898bd79b9bae@weissschuh.net> <6e5eff10-949c-4f17-a3f3-347b85b89e11@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6e5eff10-949c-4f17-a3f3-347b85b89e11@roeck-us.net> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 19 Sep 2023 10:15:53 -0700 (PDT) On 2023-09-18 12:05:19-0700, Guenter Roeck wrote: > On Mon, Sep 11, 2023 at 07:44:42AM +0200, Thomas Weißschuh wrote: > > The KM002C is similar to the KM003C and seems to use the same > > protocol and firmware. > > > > Reported-by: Douglas Gilbert > > Closes: https://lore.kernel.org/lkml/290ebce4-54f0-8ac1-2a13-cbc806d80d64@interlog.com/ > > Signed-off-by: Thomas Weißschuh > > --- > > > > This patch is based on hwmon-next, > > commit 80369d9e1f2f ("hwmon: (sch5627) Document behaviour of limit registers"). > > > > Signed-off-by: Thomas Weißschuh > > Applied, but please be more careful with your comments and Signed-off-by: > tags. There should only be one '---', and one signature. Thanks, the duplicate Signed-off-by is indeed an oversight which I'll try to avoid in the future. As for the '---': Two of them are generated by the 'b4' tool and I added one manually with the hwmon-next information. For other subsystems this wasn't an issue so far. Are these duplicate sections a problem for your personal tooling or is it affecting something more widespread? I can try to avoid these issues when sending patches to you specifically or maybe changes in b4 in general are the correct solution. Thomas > > --- > > drivers/hwmon/powerz.c | 1 + > > 1 file changed, 1 insertion(+) > > > > > > --- > > base-commit: 80369d9e1f2f16993ae6d148553c37bf65a209e4 > > change-id: 20230911-powerz-km002c-94afb4d3d645 > > > > Best regards, > > > > diff --git a/drivers/hwmon/powerz.c b/drivers/hwmon/powerz.c > > index 2b9693aee6f6..cfb635f94d66 100644 > > --- a/drivers/hwmon/powerz.c > > +++ b/drivers/hwmon/powerz.c > > @@ -254,6 +254,7 @@ static void powerz_disconnect(struct usb_interface *intf) > > } > > > > static const struct usb_device_id powerz_id_table[] = { > > + { USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0061, 0x00) }, /* ChargerLAB POWER-Z KM002C */ > > { USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0063, 0x00) }, /* ChargerLAB POWER-Z KM003C */ > > { } > > };