Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1569650pxb; Wed, 4 Nov 2020 12:30:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfa+kVMTTt3vttXKohaNwwEXhpEs38zbcx3Q6U/weDVsSQAKqrYNzPcmdrgyhKDOWiP1mg X-Received: by 2002:aa7:db48:: with SMTP id n8mr21183494edt.123.1604521840545; Wed, 04 Nov 2020 12:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604521840; cv=none; d=google.com; s=arc-20160816; b=QetPBcwc7aJv8h65iqazuN3s+dh4YJo+ur+NTbXH7GMB42GM6lUOfPr8E/+P6JVMAZ D78S3nUMgEXw1Fe3bu/zSjxW1X0wwWgFVDi14nU47t9XuDWhB0JdV52Y8+nNhnlAE0zC 6qKxvjveJ2qnMulezhvi09P7X7QTGXG7vXJb/yXzGwXhTEEk2LYYE54S3tFCc7bHsGiR L5823PChC9L6cRjzSeJEyh9xX3JfOOsziT2YMEEQLswKBwyqrJLElhM+wF6BvUU6V0U0 ueljqVHXHxOixIaNoq9F6rOjT+oVnrHbfXV7uA0PyTm8ns64cSAGr0jiKtSBs3PQHs3u Ck4w== 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=1jUCo3qsGMmYf4isHasTOhehT8pNB9XWrj2LM2ACKFU=; b=Pl5kkcjfzy5KbfyqLGBcKYVQP7NQxt94eRy8j+/0ZKTacwfJAmBIYyzTJdiN5jZwPv AFI9yzRmLmjIkdh30vCKjklvb+MHYV/T9Z8og9he5WlF/Fh029I4Zywsla1NDieZFQ1g lHKrlDH88LlquiGakhu7ee6pXgE5J39qzqx5KfTZxlKU2mJPyogl/JnVGxSh3Z8mffm4 EiLBe+RpMnjn6Ui3wepQkHJTXi4OTrHXJUrzarwo9tKEnbfDhY4xIxM/IjSltUAWQ4qu yH9Rdxl1DmAO9fLO9B2MJqWGrWUDZ1CyzWsIUG0LTE3MlMtYvAiMzuhZUokVyEBBEZ9a m1dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lBZxHWOu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si1987232edr.30.2020.11.04.12.30.16; Wed, 04 Nov 2020 12:30:40 -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=@gmail.com header.s=20161025 header.b=lBZxHWOu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731672AbgKDRhO (ORCPT + 99 others); Wed, 4 Nov 2020 12:37:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729297AbgKDRhN (ORCPT ); Wed, 4 Nov 2020 12:37:13 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3E9C0613D3; Wed, 4 Nov 2020 09:37:12 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id dk16so30321262ejb.12; Wed, 04 Nov 2020 09:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1jUCo3qsGMmYf4isHasTOhehT8pNB9XWrj2LM2ACKFU=; b=lBZxHWOuzf8o/ZJb1D8C8gGEf/iMab87JUEzptpHqxR9asnBXXaquqcB6M1z2+AocV a0ON5FbhPEFNJIQCUOirWtbJl3jQl4y9+SQa6oEmRIE5a2PDa/gSfVTmWYZKeb2oKW8r rVaNIuZOCNQy28QgMBFUGTscPb70FLX8Wtu8nAe+qr5Ib+jDA3Ux9K1jOgAmy2gOhGPU CGASkDBhQF06XCprNCUJQK/1sJv0VqkZytccCi9DJt78YAaKnv6iKB2XEimQ8C5VoV/G 0na7LwFwcJT8b2t35nOjEjtZP6ACCHgUznADenUZ1Pq+eEqRw5Fvu9WE5AF/mVlqC+RK 5Yzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1jUCo3qsGMmYf4isHasTOhehT8pNB9XWrj2LM2ACKFU=; b=gmfKR/Hmq75R1SgHUXwquhGCGlpUrJ+Q7K5liovcVUeLASNsVakAqIAXCN/dw8UKyd MIINNyWCunbIqkSS1La/f/zb56YTOnZ83YD1agAJMPQS5yniCtAK1xdzuA7bfOhAcQr5 daYdYf9f+tAxP6F53JhcTlGS8Dww/FjKdfAkkh6vLxO/xWfIJygA7ZbNkL2Zvk8lgIEm sZ2W4FCxoWezCM5psSkQ35seh9esY7DNJUo9e7GBfQ2d9jx8a0QYp5d/TinQlMphYBQm BnQtkFQAFKozp/DSe7sWCiuUkAkz9eJWjKx27og5YFJBRfxho26D3rHhYCfx0jaujVHk hWvQ== X-Gm-Message-State: AOAM532Zn8vpvn3zbhsZ18WEAqgG6hDL7gJwrtSkx814C4jf06EYGsCz /xMuvoV+dAYcZK54o4UNrFM/6Q4lT0k= X-Received: by 2002:a17:906:b294:: with SMTP id q20mr9047175ejz.234.1604511430561; Wed, 04 Nov 2020 09:37:10 -0800 (PST) Received: from [192.168.2.202] (pd9e5a482.dip0.t-ipconnect.de. [217.229.164.130]) by smtp.gmail.com with ESMTPSA id p4sm1317138ejw.101.2020.11.04.09.37.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Nov 2020 09:37:09 -0800 (PST) Subject: Re: [PATCH] ACPI: Remove trailing whitespace To: Joe Perches , Bjorn Helgaas Cc: linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201103211259.GA265488@bjorn-Precision-5520> <6e392d099bd8aaba14223aa770361dbdeeab271b.camel@perches.com> <6d888eb0-bfc5-28ff-c62f-9e769f77bc1f@gmail.com> <57b77f3a36f56e2ae7ab8fe367865b5412d4e11f.camel@perches.com> From: Maximilian Luz Message-ID: <0ec60af0-4ff2-a4ab-c904-96b149250f11@gmail.com> Date: Wed, 4 Nov 2020 18:37:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <57b77f3a36f56e2ae7ab8fe367865b5412d4e11f.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/4/20 6:12 PM, Joe Perches wrote: [...] >> I'm not too sure about the comments, but I can find the time to look >> over the output and adjust that if that's something you'd want me to do. > > Up to you. I hardly looked at the output. > > I'd generally prefer to use a single line comment like > > /* AC Adapter Management */ > > but I don't know how often that dashed block is used in ACPI. > > grep seems to show the texts are not correctly centered so it seems like > it was done by hand and not that some automation tool was used to create > those blocks. > > Maybe a separate patch could be done to change those if desired. > But not by me. I'm hesitant to touch those, mostly as you said because they're subjective (and I don't really see any big issues with them). Seems to be the prevalent style in the drivers/acpi, although there are other block-like separator comments at least in drivers/acpi/dock.c. > As far as I know, acpi was once autogenerated from a common source tree > and whitespace changes were once frowned on, but maybe that's changed or > or perhaps that's only for files in drivers/acpi/acpica/. I don't know. > > https://acpica.org/downloads/linux Yeah, any changes to drivers/acpi/acpica would have to go through their repo. I'll go over the checkpatch output later and prepare a v2 that doesn't touch the comments, unless anyone has any issues with that. Regards, Max