Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1111975rdb; Sat, 18 Nov 2023 03:46:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFq5qrj8mZLXsmxWQ5sctQuhrbMa/TUgrMkksZtdOFPHD9hDWHCXCxAHUaS2ZyMjwhuARpI X-Received: by 2002:a05:6a20:938d:b0:187:e56b:cfce with SMTP id x13-20020a056a20938d00b00187e56bcfcemr1554710pzh.51.1700307997365; Sat, 18 Nov 2023 03:46:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700307997; cv=none; d=google.com; s=arc-20160816; b=BHnLxy2iPY4+DCNrZlRITnkX8dHU+jsGMttdkPJR+CN0VbJ15/e9iajAUop6i7796d g+NHuyc8s160T9t+DgV1I07b1dePYvGNZYu3r17BQOfME05FjUmaLMwSRp8CjN5zuU5E UBX5yyQDmI+89NYSyLOM8mRyNmqCRmQv2o8/g+nJpizqruL2VsZV/puIV5kqWctwArvl 9aPRoePM34tjR7OqXRdcQlM4tYCbc69jqk3iwNU5WqAWBNt8zQj2hgmkpLh5WoEXCEsU Thgu6ZUzKEVfoP6hPNyNtIwlQv7cyrWHQb8ZTa+xcSWVbUisLFiZPhmUyrPBskVxrsdz fgGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3ClOeeApXVOwVcbEnxEFMvGO2pvgQp5Himl1NoA2ock=; fh=w/PggTu6OZMhjwVz/BVfyB5mT4h3PzSbXPozA3siLFQ=; b=0t+hRbUDEjc5XeFg8r7Cj0DB8/T4t6LEwgHqblhAL77BSGH4EcHOqUEWOkbDegeHjj SVfCelFGSriX8nf/wL7REEbpx+CvaxnotWbOLzCW5WKkTMtyP90WGqcX2tudtVWf5Hbp yry9CsdqKz/PZcq5/aJ91Cq7BxKKz6mc+J5XUxvRwCvXIygwqfFVpRbhoCzXtu4/lOBh Zxw8t1ALZPaCSvEisV8EKjX7NU2zfkO7mnl7ZRBAjaabmur8mUBk2Qx2dmqlzBleFOZd sHqctzfeA/oZN2Olr6pMSdFsw2qMsodZpa0wJNSG7+SFDg9JzDoEykMlgvl45RebPhS0 2oHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gi8cPpn1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o19-20020a170902779300b001c604fdbb14si3996660pll.81.2023.11.18.03.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 03:46:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gi8cPpn1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E3A5C804E722; Sat, 18 Nov 2023 03:46:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjKRLqF (ORCPT + 99 others); Sat, 18 Nov 2023 06:46:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjKRLqD (ORCPT ); Sat, 18 Nov 2023 06:46:03 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E2FFD6C; Sat, 18 Nov 2023 03:45:59 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5c2139492d9so590808a12.0; Sat, 18 Nov 2023 03:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700307959; x=1700912759; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3ClOeeApXVOwVcbEnxEFMvGO2pvgQp5Himl1NoA2ock=; b=gi8cPpn1ogc2CqfzBiFS3lO6jHrmrwz6AmnFb7/jFUMc2HSGiemMBKPxyOE1ByDq/w dWx8L3QKmqVe7ORGSSRA5g4x+2+Aw9naeqg2K4Z/ylx+sXRsis/1/Wk6mgXu6RVWVN1G MOp9R35P45B8AZile7CcnWuWlI/KU5PEXmi0mrOMK3+oTSQwYBgNDepCDCgFJPwPZ/W9 EDtZQeV9VnkSAnc0zqUAlFvJ7MjDx3gjYOqltCdGcmtOyoR1Khir6Mm6SKWDmDAw2Hkr FYYmsrDUBHgZ+xFTwFga2Nvbt8I4ZLnBZ3JQJnKREV1NgH4cRZ3uouQkdogKKyG2vrxS gV3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700307959; x=1700912759; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3ClOeeApXVOwVcbEnxEFMvGO2pvgQp5Himl1NoA2ock=; b=jexigBRDt/+jl3mGGt8Mv8A3oCjgoD4W4/m0cNoG1xyfr9bov6AGi/YIHntwkFJfWD FJcZ4Do4fJkJEh8k10OunB7QhfxBmEaQQs6dgfizeUxKVYCg5td2vnlMVBgCizTfT8Ui bvbomHqMKGGKmt/C3WQW6EMqLazWNNZFhgAn4BpDkHGhRcbqPaUyldGOsSF42gHWbuUJ H3HZoOf12ywsN8PFfUhgRFTsyDc2Oo+C5gI5+XkBymHfYzJSqnTU8FRM1Lu28ALP0qNw /ti51mmywG5NjImY9TR+fEwvKJ8txuhwbifqSdsPxcgBlfjPsnqk10Jo2IGeoW4hi+Ih D4Lg== X-Gm-Message-State: AOJu0Ywc+HvhEb/CXVQsdWzgn70yFFi2o209QH0wEmFYTPfJgXVvaV8X DuWbGla0L5328ZZznvshHNH+7ecPm39BtQ== X-Received: by 2002:a17:903:50d:b0:1ca:dee1:4d1a with SMTP id jn13-20020a170903050d00b001cadee14d1amr2030846plb.25.1700307958228; Sat, 18 Nov 2023 03:45:58 -0800 (PST) Received: from [192.168.0.106] ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id x11-20020a1709028ecb00b001cc51680695sm2842304plo.259.2023.11.18.03.45.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Nov 2023 03:45:57 -0800 (PST) Message-ID: <06648cde-e8d9-42d0-a8ef-15c9a9b8850a@gmail.com> Date: Sat, 18 Nov 2023 18:45:49 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] power: supply: Fix indentation and some other warnings Content-Language: en-US To: Charalampos Mitrodimas , Sebastian Reichel , "Rafael J. Wysocki" , Mario Limonciello , qinyu , Nick Alcock , Greg Kroah-Hartman , Huacai Chen , Kai-Heng Feng , Andreas Kemnade , Ian Molton , Szabolcs Gyurko , Anton Vorontsov Cc: Linux Power Management , Linux Kernel Mailing List References: <20231117230658.65809-1-charmitro@posteo.net> From: Bagas Sanjaya In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sat, 18 Nov 2023 03:46:15 -0800 (PST) On 11/18/23 17:36, Charalampos Mitrodimas wrote: > Hi Bagas, > > On Sat Nov 18, 2023 at 1:36 AM EET, Bagas Sanjaya wrote: >> On Fri, Nov 17, 2023 at 11:06:58PM +0000, Charalampos Mitrodimas wrote: >>> These were mentioned by checkpatch: >>> Errors: >>> (1) code indent should use tabs where possible >>> (2) switch and case should be at the same indent >>> Warnings: >>> (1) quoted string split across lines >>> (2) Missing a blank line after declarations >>> >>> Based on this comment from "include/linux/module.h", modules with >>> multiple authors should use multiple MODULE_AUTHOR() statements. >>> /* >>> * Author(s), use "Name " or just "Name", for multiple >>> * authors use multiple MODULE_AUTHOR() statements/lines. >>> */ >>> #define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) >> >> Shouldn't MODULE_AUTHOR fix be separate patch? > > Sorry, I should have mentioned in the commit that the warnings "quoted > string split across lines" pertained to the MODULE_AUTHOR line. > > In the commit message I'm just clarifying why I used multiple > MODULE_AUTHOR statements. > > Should I send a v2 patch with a revised commit description? > OK but as separate patch. -- An old man doll... just what I always wanted! - Clara