Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp834646ybl; Thu, 12 Dec 2019 05:43:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxaYRk2TKQktybh1HyCXIuBOazeRQK/EiADXbuTahRlkhKEEU+xwJzZejKjZoLmsM5l+Vkh X-Received: by 2002:a9d:245:: with SMTP id 63mr8629918otb.229.1576158192002; Thu, 12 Dec 2019 05:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576158191; cv=none; d=google.com; s=arc-20160816; b=o72iS/vcXCxBBRXo+oe3TxpKcgbB9W+GlBPgtsrALSen8WqVa63GXT9jqKVdNfu3gW vDzaK56opUH5Z1xZ0KsLuGMwgF7Wkwh11uhmFrIbH66xnUjlcMoHbNNa8eSnrix2nuVy SgLCfymDo2nsMlnSRwWs1czdZm50NKlAVkr/PlXooGO7TgCExrXD1Z1ORz7RQtfCqZN4 vCtvxRmzexPc58+ccjALbm4rHguR40w786yQOyzM/va+7VZ7Nb6ct7M/QD76xZghskSW w7VN/xuT0p8y9rpcJzwNTjcZctCj9qm2tXiyXkVKCageqAH9kDsYg2Czl97ypy7+Avq5 diww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eKIpRDx+zfn9tjbkvPcwD44F+RZgeuddmRcdxODecF4=; b=FQ/VfCNMvuUJS6PlCeWchsN/7elyawOdm60DKClNK2TsVI8lO9aSoTYY4a9ZWyVszq NbTqkjjMzQNwRv683/W+lapZPOpwMGUiTW7zmj3YqWLV7aAJedZqXUhgignSazlIhG6M hEp7ixrc4DcyrNdKIoR+xO9d59j+lAh0FyurHJjpcybyZFPBxLxxr+WatwistjzPUFsD XzJzZrDtP70O3cb8MMHx2JcX7kTUU0fdis1C7HdxXQ1lWHb68bg2di2qQzNyDpwtDMHe j9HxLxhBDY5Wwcu+Mt+PB3dSknZco6YL+gJ1xcEQ/mALPb2WLKXrkRpy8J4T33ioroVO KIDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EDAQC728; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q189si3002159oib.179.2019.12.12.05.42.59; Thu, 12 Dec 2019 05:43:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EDAQC728; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729499AbfLLNl4 (ORCPT + 99 others); Thu, 12 Dec 2019 08:41:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:41250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729418AbfLLNl4 (ORCPT ); Thu, 12 Dec 2019 08:41:56 -0500 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8A722077B; Thu, 12 Dec 2019 13:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576158115; bh=eKIpRDx+zfn9tjbkvPcwD44F+RZgeuddmRcdxODecF4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EDAQC728DMmhZg3qL4jAR538yfhDTJ0lm6Kf+9fpYSdnhWz7nT0DicXenTE+nLnrb i1+Eho4lCWrAClTzN+L7XkHJhwcfQEaR44cPTD94jsd6VNWM8bLU3/CT2cVXi3lhKj 6+uVNGLXoeQK6BaGmxNf4SBFFt3MJgYTS0p68kJs= Date: Thu, 12 Dec 2019 15:41:52 +0200 From: Leon Romanovsky To: Gal Pressman Cc: Jason Gunthorpe , Max Hirsch , Doug Ledford , Parav Pandit , Steve Wise , Bart Van Assche , Danit Goldberg , Matthew Wilcox , Dag Moxnes , Myungho Jung , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] RDMA/cma: Fix checkpatch error Message-ID: <20191212134152.GB67461@unreal> References: <20191211111628.2955-1-max.hirsch@gmail.com> <20191211162654.GD6622@ziepe.ca> <20191212084907.GU67461@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 12, 2019 at 02:10:12PM +0200, Gal Pressman wrote: > On 12/12/2019 10:49, Leon Romanovsky wrote: > > On Wed, Dec 11, 2019 at 12:26:54PM -0400, Jason Gunthorpe wrote: > >> On Wed, Dec 11, 2019 at 11:16:26AM +0000, Max Hirsch wrote: > >>> When running checkpatch on cma.c the following error was found: > >> > >> I think checkpatch will complain about your patch, did you run it? > > > > Jason, Doug > > > > I would like to ask to refrain from accepting checkpatch.pl patches > > which are not part of other large submission. Such standalone cleanups > > do more harm than actual benefit from them for old and more or less > > stable code (e.g. RDMA-CM). > > Sounds like a great approach to prevent new developers from contributing code. > You have to start somewhere and checkpatch patches are a good entry point for > such developers, discouraging them will only hurt us in the long term. We have staging tree where new developer can train their checkpatch patches. What about fixing smatch and sparse errors? It doesn't require HW for that and much better entry point for the new developers. > > Linus had an interesting post on the subject: > https://lkml.org/lkml/2004/12/20/255 We are in 2019 and our opinions, Linus's back 15 years ago and mine can be different. Thanks