Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4416503ybg; Mon, 21 Oct 2019 08:40:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlLEEd+3NMgJer6KKHXJ45AhSkChraXd7ouoxPCIUSUHvwpAqBpul6KpHdiW+4pUdkaPuY X-Received: by 2002:a17:906:130c:: with SMTP id w12mr22148775ejb.142.1571672454654; Mon, 21 Oct 2019 08:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571672454; cv=none; d=google.com; s=arc-20160816; b=ZNp0EhSqVYAdXCyeOBTjPJb6/Nq9EHDnP5Ipy5apEfGX1a356mZ+4bvtMqSAcyxqeW czU8tSPkttIE8UBEaHqdQTc31acS8K+vEX7EMPcMbO11T/PeMohDbkvTkMStLiY24/cl wzzGP+o7xN3rzsy3wDClZqo83MzvFTc4+KVDx080Diw2iV0bNPe5bWLqNuzIUeb280z/ nqY0587EqxBYzEPnOqDy7iDNNHWkS/PnpscxFZdql03ck3/Ek8YwxXoQ8CcIOLvcmLJP i25mE3IuId0iUs++PXV+wSmQdMifO4AcI44LBH4zjjxtAmCd8pqJX/WoqGsAq4x5eOgu 5rkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=ucCEPxnyJ+ZOhtkur6cCKTnEqlAgQJbWKzro646IvWQ=; b=ONYBbDE8gRznTO1j+mEy5BWhFC+HOvbek9m0x/dgD5Ui9Beem7wrluwUIQr3/JAuRG 1we8qncy9Vb2WTdhQshbr9wLXchvbjyOKYfXUSknoYkcUAQ+e0hAUlTPzI1TK9ceWTPu sDN8oBs1sMtABoXf0Aj3MiNcd0HAdYWpZctl39lPJJrS+89+aXUbvJOPLeFmKxHvegy+ iODAC2J0EANvmfCShI/BhNVKkTFllDuAhyXFzww6daeGBdesC5JfUFiOMYy02EcOyJq0 S9vSI8k2qMWCHYQX9gB4Pznc6nkyLwnW8ZmwZx9CMVjlo1yVObG/hmWcs74MMAXDMc4z 85eg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si8333917eju.156.2019.10.21.08.40.30; Mon, 21 Oct 2019 08:40:54 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbfJUPjp (ORCPT + 99 others); Mon, 21 Oct 2019 11:39:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47780 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727847AbfJUPjp (ORCPT ); Mon, 21 Oct 2019 11:39:45 -0400 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 690B1368B1 for ; Mon, 21 Oct 2019 15:39:44 +0000 (UTC) Received: by mail-lf1-f70.google.com with SMTP id w4so2778371lfl.17 for ; Mon, 21 Oct 2019 08:39:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ucCEPxnyJ+ZOhtkur6cCKTnEqlAgQJbWKzro646IvWQ=; b=oGUK3myMnyUhFtha3oBy/ekSsvsj4/dEDA/UM8E9S6uRaJmiIPR2nVTFAaDU1YEx0c nt0W4V6C0X5wSrs2claZje7AfJvOJhHca+MzJqpk5MZOdoKEQPpQBf0vAdU/FvR7zS8V /blbzPymzrExqs1sKG+P70aCy/k/MjgLOnu6GoQuwdPHRUt2mVFgOShqvjcZS+cw68kS mIY8UN1arBvuMQfCmxhJe9CiX8nbNbBFl9d3EukHXpDZAbsyI1fsHi8/01AxRsloMpgc kVIGBp/kGlDuc2SYrgxRuMDz40ohYXnbYw0aTvfVwHWsn9i8LyGHz9oL0H8xv1pEQLJ7 awNA== X-Gm-Message-State: APjAAAU0IfjMzwHWWGUhhix+f+x/VJ0C5rNWJ2LbYXnpUEl6zcj6QLat GBlmLwsxXOaVypKiPndIcjLC5KWhkWo60fPt58EwAyJrwv6UAlItkKm6JeXEZZm8eXQJlcF/2WI p88uKHjqIGztIDN4gbb+HUy5g6RvZjEKin4QsLEpW X-Received: by 2002:a2e:6101:: with SMTP id v1mr15673669ljb.122.1571672382802; Mon, 21 Oct 2019 08:39:42 -0700 (PDT) X-Received: by 2002:a2e:6101:: with SMTP id v1mr15673649ljb.122.1571672382491; Mon, 21 Oct 2019 08:39:42 -0700 (PDT) MIME-Version: 1.0 References: <20191021184128.601ff09d@canb.auug.org.au> <20191021151507.GD25164@mellanox.com> In-Reply-To: <20191021151507.GD25164@mellanox.com> From: Matteo Croce Date: Mon, 21 Oct 2019 17:39:06 +0200 Message-ID: Subject: Re: linux-next: Fixes tag needs some work in the rdma-fixes tree To: Jason Gunthorpe , Joe Perches Cc: Doug Ledford , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Potnuri Bharat Teja Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 21, 2019 at 5:15 PM Jason Gunthorpe wrote: > > On Mon, Oct 21, 2019 at 10:50:33AM -0400, Doug Ledford wrote: > > On Mon, 2019-10-21 at 18:41 +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > In commit > > > > > > 612e0486ad08 ("iw_cxgb4: fix ECN check on the passive accept") > > > > > > Fixes tag > > > > > > Fixes: 92e7ae7172 ("iw_cxgb4: Choose appropriate hw mtu index and > > > ISS for iWARP connections") > > > > > > has these problem(s): > > > > > > - SHA1 should be at least 12 digits long > > > Can be fixed by setting core.abbrev to 12 (or more) or (for git > > > v2.11 > > > or later) just making sure it is not set (or set to "auto"). > > > > I'll leave it to Potnuri to fix his stuff. As for the rdma tree, the 10 > > digit hash is still unique as of today, so I won't rebase the official > > branch to fix this. However, I'll see about adding a check for this in > > my workflow. Thanks. > > I thought I saw that checkpatch was checking this now? > > commit a8dd86bf746256fbf68f82bc13356244c5ad8efa > Author: Matteo Croce > Date: Wed Sep 25 16:46:38 2019 -0700 > > checkpatch.pl: warn on invalid commit id > > Maybe that check should also check that enough hash is provided and > other details like the correct subject line? > > I also use a check that builds the fixes line from the commit id and > requires it to be the same as the patch provided. This catches all > sorts of wrong fixes lines, and sometimes git even recommends 13 chars > :\ > > Jason Hi, actually I just call git_commit_info() which checks for validness. I could also check that the hash is at least 12 digits, would be very easy. Joe? -- Matteo Croce per aspera ad upstream