Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp143129imp; Wed, 20 Feb 2019 21:34:56 -0800 (PST) X-Google-Smtp-Source: AHgI3Iamw5QfU9PpF2oS5239toRecspnGI58ycyapcUc2bgDhkz99DLyS7UoDErtLsmHbNYUalRc X-Received: by 2002:a63:31d0:: with SMTP id x199mr33262724pgx.182.1550727296315; Wed, 20 Feb 2019 21:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550727296; cv=none; d=google.com; s=arc-20160816; b=AjYbQ3ewFzbw2EBOCnI8g2dfE9y6dGZq9Fck/VQh/uD7jTgTpXzP0vn3iRPFBZTKXb snfjGYMXqAO7TRdRA1TF5WW6ASqGmyzcdwi2rm4BgyeJ3AnXnCtOSDiXuomWWTYTq6MS O6S9bKH14uKA1JPiUi9KGtYsl4LBHhSj9V3j6wbLWaZetXTv3cOljQc43IBxhtngyssl Y10rCi6b1mmMUIaLhEIgZ5q8/3apkEPPCADm0mlcfrkkmN65dFCSzLziOBxXnPaaAE4R SqwqjLjovqvrYiDMlKKORbZFTNEvg7OyIL0YPDjc3n/+aR3k3Xz8UR4yMBY/wVQqHTi2 cGtQ== 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=sSsxACiggMChBLNjHrqcFsBpnxnpFPU7iM/271ubsnU=; b=YvuzEnAl4y05i3RtkxF6QW/9bAbg5OyXT/GGys7Pckt+wLRr+q/a3E2ltzvv+qnuvy F5AqKcMRfbMNB5UZWLUmfBOZatgtrSLSsakx8szzIlfo8XkG4WtbiD1BeJWSCbfPnRLj XPU4b6Rd3irRKj89pgpDvaDWcuRlyeYXcAMTQLebN1wagNEg7ij2gRwt+TdDljiVSGLi D4F0UiufWMPfLgIT5zY+0x4u+NTo5tx5Ue9RT0UH7vPQdUFcwxE542p5MqKyaLPJ4H44 NOzEhvLZ2ElwJHwP3OJLNsBpdK7OVIn0WZXk54tGt7tD7IWms3IsrewW41w9WAYhBCx3 IkWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v4OUmr7Y; 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 b64si4245063pgc.218.2019.02.20.21.34.39; Wed, 20 Feb 2019 21:34:56 -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=v4OUmr7Y; 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 S1726087AbfBUFeQ (ORCPT + 99 others); Thu, 21 Feb 2019 00:34:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:59562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfBUFeP (ORCPT ); Thu, 21 Feb 2019 00:34:15 -0500 Received: from localhost (unknown [106.201.39.16]) (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 6705E2080F; Thu, 21 Feb 2019 05:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550727255; bh=nvpYcxoY6112t2ls0yhRUAmCHjtFWZfjgKn6ueQJDss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v4OUmr7YiE0HqY8MhTRBmX3LX1Qo2+BlApDasQypdN3Eeekp+DvsYHYmpo+cK9M03 DUB4UKqdrUJlsErkDm2jWm1du2UxUeZmCxSfotJGiH5x3ZiRVVLLVAbI7zwgVhrZCe J5EmlObNe8oJxWUSjTtIOQkPYoIorXvEW7bimCKw= Date: Thu, 21 Feb 2019 11:04:09 +0530 From: Vinod Koul To: Stefano Brivio Cc: David Miller , jiri@resnulli.us, sfr@canb.auug.org.au, netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch Subject: Re: linux-next: Fixes tag needs some work in the net-next tree Message-ID: <20190221053409.GH2736@vkoul-mobl> References: <20190220044055.GD21884@vkoul-mobl> <20190219.224813.723564128666927693.davem@davemloft.net> <20190220083611.GJ3080@nanopsycho> <20190220.110201.2245447687492293995.davem@davemloft.net> <20190220205910.7bd7fd40@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220205910.7bd7fd40@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-02-19, 20:59, Stefano Brivio wrote: > On Wed, 20 Feb 2019 11:02:01 -0800 (PST) > David Miller wrote: > > > From: Jiri Pirko > > Date: Wed, 20 Feb 2019 09:36:11 +0100 > > > > > Would be good to have some robot checking "Fixes" sanity... > > > > I want to add a script to my trees that locally do it for me but the > > backlog for patch review for me is so huge that I never get to "fun" > > tasks like that.... > > If it helps, this is what I use after being bitten once: > > #!/bin/sh > > [ ${#} -ne 2 ] && echo "Usage: %0 PATCH_FILE GIT_TREE" && exit 1 > grep "^Fixes: " "${1}" | while read -r f; do > sha="$(echo "${f}" | cut -d' ' -f2)" > if [ -z "${sha}" ] || [ "${f}" != "$(git -C "${2}" show -s --abbrev=12 --pretty=format:"Fixes: %h (\"%s\")" "${sha}" 2>/dev/null)" ]; then > echo "Bad tag: ${f}" && exit 1 > fi > done Awesome thanks, I am adding this into my patch commit script and well as send script -- ~Vinod