Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1329697pxb; Sat, 29 Jan 2022 03:02:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhuWqW5GA5npw3QnkiT+ck15+gm30d7x9qshorcTBIeOY8qZTBfae8AVj4kKlkbOaiUDe+ X-Received: by 2002:a17:90b:3b52:: with SMTP id ot18mr12421972pjb.34.1643454151065; Sat, 29 Jan 2022 03:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643454151; cv=none; d=google.com; s=arc-20160816; b=OQiD6+Xbmw2ZfnmTqwgXyBP1dzBFoyzSC8KjN6bD39rWXytgBG5QgJ6zJJgHWvbdIO IzqjaJAXtMWckocBEm0mNDyLmqJ35vyPk9J5mmTOU3BObmK+4CmW1j5UFn5Lrf6u+UoZ ryKdYy/xx7BwxhIArAMgeRtUcDchWa+4CroSec3LQLTIzsAMyXWiUsXKCrHxib/k+GA7 OP5xKkeSnSAVAWzqdRaAmHoPuTLxz4BoOehcddUnlQyqOpFdxkUzlfFLVTJGXD5tF+Uf nqALsPJUYZpdTKtWnbmnLzrArfjSG86yRB00ahdarL8IxPYY1WHDDvSNCavvry9TzIIj OrYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=+STjJIYlDKwr5uGcYujf/0+pS4adNeav25m2iPOdBGU=; b=wmf/+DIVl5MUcgj2pt+Y30QEAeN8uqMggacDyCbWRA14eJXOjv0lRVbC0PEl8Qf4v2 2lbHbBoH2H+tetnNlO/4zAU1WjOB3iHawMAunxS1Vz6W87RTMQ5s7Ix/MxWYZjmPWA8w /dzZDa6HZPiOV2icPX/uP9Q3MjA/eTRmow0102Za5eqAbo3tGjc3BEfzE5krNo4LVO+K WZTbxqGhyHFbnPZF/PNMc2zjZ7ED9MWzh44Kj7Ak0Z1iMKeFVLuGgkthl6Q1sfVOv1ul m5IiKxZM5ybY9KNbTcNEe7PXYtm0A/ZkaeYeBzKzUf1dpWiCVRndzJ8rU+wUGgs34SrT f/8A== ARC-Authentication-Results: i=1; mx.google.com; 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 a8si8620039plh.16.2022.01.29.03.02.19; Sat, 29 Jan 2022 03:02:31 -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; 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 S1345376AbiA1Cny (ORCPT + 99 others); Thu, 27 Jan 2022 21:43:54 -0500 Received: from relay025.a.hostedemail.com ([64.99.140.25]:35611 "EHLO relay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241696AbiA1Cnx (ORCPT ); Thu, 27 Jan 2022 21:43:53 -0500 Received: from omf17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B882420D82; Fri, 28 Jan 2022 02:43:49 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA id 8AECD1A; Fri, 28 Jan 2022 02:43:10 +0000 (UTC) Message-ID: <5554a75f65fddab4de60d61fd503fe73773dafbb.camel@perches.com> Subject: Re: [PATCH] scsi: megaraid: cleanup formatting of megaraid From: Joe Perches To: Tom Rix , Nick Desaulniers , Finn Thain , Miguel Ojeda Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, shivasharan.srikanteshwara@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com, nathan@kernel.org, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Date: Thu, 27 Jan 2022 18:43:40 -0800 In-Reply-To: References: <20220127151945.1244439-1-trix@redhat.com> <953eb015-4b78-f7b-5dc1-6491c6bf27e@linux-m68k.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.4-1ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.88 X-Stat-Signature: x39h7xij7ferynwq1baymdwur1t13kh4 X-Rspamd-Server: rspamout01 X-Rspamd-Queue-Id: 8AECD1A X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1/dz/eWBoFmWNgbWpQYIec/MEbMEENQX0Y= X-HE-Tag: 1643337790-237904 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2022-01-27 at 16:32 -0800, Tom Rix wrote: > On 1/27/22 2:47 PM, Nick Desaulniers wrote: > > + Miguel (the clang-format maintainer), Joe (checkpatch maintainer) > > These criticisms are worth reviewing. > > > > On Thu, Jan 27, 2022 at 2:38 PM Finn Thain wrote: > > > > > > On Thu, 27 Jan 2022, trix@redhat.com wrote: > > > > > > > From: Tom Rix > > > > > > > > checkpatch reports several hundred formatting errors. Run these files > > > > through clang-format and knock off some of them. > > > > > > > That method seems like a good recipe for endless churn unless checkpatch > > > and clang-format really agree about these style rules. > > > > > > Why use checkpatch to assess code style, if we could simply diff the > > > existing source with the output from clang-format... but it seems that > > > clang-format harms readability, makes indentation errors and uses > > > inconsistent style rules. Some examples: > > Problems with clang-format should be fixed, I'll take a look. > > I was reviewing this file for another issue and could not get past how > horredously bad it was and really did not want to manually fix the 400+ > formatting errors.? I will drop this patch and use the use these files > to verify the .clang-format . I think this is more an issue with clang-format than with checkpatch. If you have specific issues with what checkpatch reports for this file (or any other file), let me know.