Received: by 10.223.185.116 with SMTP id b49csp6585181wrg; Thu, 8 Mar 2018 09:47:07 -0800 (PST) X-Google-Smtp-Source: AG47ELuKpXZzZ2A138DU9506SJUq4jqFmzAKZ18Bb+V0i70yADU2qg3TAn1dUxHPb75hWP5vvyJT X-Received: by 10.99.158.84 with SMTP id r20mr21097495pgo.296.1520531227499; Thu, 08 Mar 2018 09:47:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520531227; cv=none; d=google.com; s=arc-20160816; b=Ly9SXsDGrdbgUAcjgDSBoWt7lhZrI9DVbg+9U1cvT/u8pC4n/6jZi8Xvrzo0hAT3bW 2liCQrI9Qo2O18ZA8b+bCtXvhrNBM/MQYJpz8jL+Ze2eT7PUrekGZwPnl5UQMVqun3IM +smMVgouXzZKQQqfJAVw1wiCQooM0t0igqIzmvmi6ubAH9txBeu1DXL/LeTWqJvtPvAO EcZqTDpdplHo9UmQJxuCN42W8CNkqZl5jbLnxfIsmv8ezEvOjCxxhNABjjIj0ubFdh7u DOvAImASyBYLyB+oq/CAeybWzPSjtdeqVkXLrK3U8qcebj0rH/JWMOsFAdBLtF9xEN/h NRpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=UEWYxbI47l8NtcR+zC2WP/zYvqqj/OMjpP9PgWMvXYw=; b=LbU5aATp83y2eCxojJc8eUbRtwVZGSU9kjXQQy6CtTbBToltikHJlE+ZzdyEgHcvrn XDMtFNvp2las0L3cAhjM9iCxjCLwjYbYeUWNFLgI2hkhD27W7IdyojsLvEo4d5GrfF8D EXbkx7M8p9Ydyoy5iSEha+1tPBTwYKsuNCFybedKhDHzuWMK3iTnOJhKpAYRB6FAP2b7 Rm1J6P/BvvyeTgIDdOUwq1fXS62rs8PtQwBSQUWx3vWZPYtk4C9TTUtaMjYrU7qceYxs 1uQ0dY4EnQWA6Uz9E4V2LMZHBAUouZwFOm4/Oqsh/JugI5b+7n3SKQZbWb2A+y7I91I6 FD1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=kJWytlRc; 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=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si13250886pgv.331.2018.03.08.09.46.44; Thu, 08 Mar 2018 09:47:07 -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=@Mellanox.com header.s=selector1 header.b=kJWytlRc; 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=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935982AbeCHRpD (ORCPT + 99 others); Thu, 8 Mar 2018 12:45:03 -0500 Received: from mail-eopbgr10074.outbound.protection.outlook.com ([40.107.1.74]:3056 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932087AbeCHRpB (ORCPT ); Thu, 8 Mar 2018 12:45:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UEWYxbI47l8NtcR+zC2WP/zYvqqj/OMjpP9PgWMvXYw=; b=kJWytlRcdfEZNDP53dd6rbSTc2oJUX7lk6BubM6kGBxGprNbhofUGXSqNL/MnzoKVEkF+KXIS09+ngblrtcTa6CyNk3AEBvk2sPGJ+fR3HmLaKuEhtylmNrJwpQSozS4zuBnw5FD8Y2ypdQW50Gcbon/wyqOO48Nm9O2JjRLPTs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; Received: from mlx.ziepe.ca (174.3.196.123) by VI1PR0501MB2864.eurprd05.prod.outlook.com (2603:10a6:800:9b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 17:44:57 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1etzau-0003n7-2N; Thu, 08 Mar 2018 10:44:44 -0700 Date: Thu, 8 Mar 2018 10:44:44 -0700 From: Jason Gunthorpe To: Joe Perches Cc: Stephen Rothwell , Andy Whitcroft , Doug Ledford , Linux-Next Mailing List , Linux Kernel Mailing List , Leon Romanovsky Subject: Re: linux-next: Signed-off-by missing for commit in the rdma-fixes tree Message-ID: <20180308174444.GG6773@mellanox.com> References: <20180308164058.2ad5a158@canb.auug.org.au> <20180308161845.GC6773@mellanox.com> <1520527178.11634.9.camel@perches.com> <20180308170317.GE6773@mellanox.com> <1520529792.11634.12.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520529792.11634.12.camel@perches.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [174.3.196.123] X-ClientProxiedBy: MWHPR14CA0048.namprd14.prod.outlook.com (2603:10b6:300:12b::34) To VI1PR0501MB2864.eurprd05.prod.outlook.com (2603:10a6:800:9b::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 192a8ccb-bf5e-42f1-267a-08d5851c4f3e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0501MB2864; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0501MB2864;3:BQ7qmztVcG83XhQJwC0qKjcwvoTmWOFtQbmPvzN77PytkFeP0A35VagwoQgJ04n4lOEg/pCkghxiKdDIRxhL0FCcNgjfLjfO09PbLOQncL8/P5MoOpQae4H1rBn3ryWlSz412kIcst1XTFqUY8+qd4w4o0wVrAFBwOTw1Vk/iAT0EAaFFLvbzZ3bm28J1IIAvcwTfVXwiprj0Zfi43SqqsEnVVBm0fjwMco/szu/TIYVRpsZNoth9rX0jJ65zKBP;25:nG1ugPG/denZ4WuQuvLRjnvtsBuB+KJRZRHRGYCaxbl9f1TEQKASeuEAtQYQo+z+63QGoy9kWb2fqKGpfefwfcaPUdRmYqLMqIrp95lbA+JYPWYF7hDIot2wPb2Mp1efWocuPzwkoJmpBOTCiLmSbFf69ote6oCQW3saoioNlxHVKY3PoWLJNTDzlkOGmMEt2QYx0YqJtiaxt8MX0Cx0FB4lp6t5Xx9+rTpTN19dV4Rb5KUh259gSLSnJoU7PfWIpb8wNniU4hVlIOPNllHGuzAtVXEktBqXMhUslWkvGKvsCIYT5DA6m1Wb4x9ePXC+RNCzjeuYkIrjsnxuWqFJGg==;31:VtgOYmpfLrDh4Dgj/y0UCZJikaoMFwEh9TEw87Z8Pa88DgacTq7KcXrU9qN4TAnRBnTx56IkQ3kuBo4CFpoGQwCkIL/Sc+be70xV6TlcrRgqFlxwPWDc+5MB0Uu6KXxTiqFeoNaBtvuucMTAeZDLV9Ww+Y2a/63P0CryxGrUM6JoFIkNME1Wqb+ZP10ajtLlG+iwHmDcfWimv0YQvdMCPrR6z2xx0nso4a8ZbAEt4D0= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2864: X-Microsoft-Exchange-Diagnostics: 1;VI1PR0501MB2864;20:Pol/8OZejvEN5KfwFYd+M+j/bNRYCyPW4ykJLDMCJtPQhJkFgsMr76+s7AbnWZHPErW4YLV8I//usd3R26hDScTlfK+cdSxJUeFZE6jtNQgzCnVFbmeVetr0xsFFMutqsHN8SdQmJBR/5Mqhrv9GfBmvguHVbzx0mZBVLydhcXUrMTWZBdkRtNhi7SKk65bWDWB0DoDGXNjFdj0iBo6YZ4xEgbNPVfr2hBE4k0aOHZX0UxnPKxXRvk1yaUp2OJXRtbJ/0Y4T67+XJQabcRtEy0rc6J2H6EFdbPlqzU/Q7xnmaBMf0fkzXVQLnV5/AcQKCr8cra731ciQBC5CKUHaaIa85cZkBCcXsMdnbAt2DHqBNXp9FQkV7tMi6JBANcdqRkSOq8kwdzHLRXyJ/Lq2ubB7HslYCZbzeWhiLWn94Gx0buTxZGDBnEjz/qvJuU17PsnPwZnROyW9qJxdrV7DzbZy4Eq6Wn5WCEwh6G2PryACiX+gylU8WzNCIGGlYrxk;4:lZs5f7WzQB+A5fvV2JOhtQw9z678yOnmCrtb1aFurd38xLrhH3H2ziFNb1Y9N1xgii1w+GUXqVHQcl5h+9y+ZDXFhyM2nhfqVGbq+sSA/AH16jKejNQlgneO2tK6LSxk523OkfMoSbO76tJRlsJLxaxNQX1d/n0rQFc2A8I3t1PlSYkzVvYaDSBo8W8tYSsIECVQ+wqvoNyFJbVxHTgXVrL/P3SS+296mBfQNx1hir4EDrSWVuDaxNAkrNLMTkweNy0EuyKiw0tZJOgcf8/79weW+dWfKI1pqdT1lWDmqLeN7l2zCWxC1h0BwsCfxAvXz6TqzJQclNEglNDeO0hxrqs40Nziy4fUpWq9aIn4qzQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(84791874153150); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231220)(944501244)(52105095)(10201501046)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:VI1PR0501MB2864;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0501MB2864; X-Forefront-PRVS: 060503E79B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39380400002)(39860400002)(376002)(346002)(366004)(396003)(53754006)(377424004)(199004)(189003)(81156014)(83796002)(229853002)(76176011)(105586002)(57986006)(52116002)(66066001)(50466002)(46656002)(7736002)(966005)(305945005)(5660300001)(2950100002)(6916009)(16586007)(26005)(186003)(386003)(47776003)(8936002)(316002)(58126008)(9786002)(9746002)(54906003)(575784001)(8676002)(97736004)(81166006)(86362001)(53936002)(69596002)(478600001)(107886003)(6246003)(68736007)(6116002)(1076002)(23726003)(2906002)(4326008)(122856001)(36756003)(93886005)(6306002)(33656002)(3846002)(106356001)(18370500001)(24400500001)(42262002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0501MB2864;H:mlx.ziepe.ca;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;VI1PR0501MB2864;23:DAkijNLKK5ejgOiwAJW6oSzO7333tMFp5rfHcES?= =?us-ascii?Q?AqojMb6kwfi6YVqYUxM6+CfUZAL6GYMjxByu+rW9Ptzec+oYlqbgDKqXdDtZ?= =?us-ascii?Q?ky7s1oNUyeUBufAdnV0f6bWU3T2v4bFodmCwSCLPJfTRMaBkL83mBo3Q/mYr?= =?us-ascii?Q?kOZbOhfhPWLX8N5/dO1IXxWqIwgsKAqz+N/2IzQmU64y7lasTasg34wg6ahb?= =?us-ascii?Q?wuCkHnp4NUjFTg4Jp8UAEkux5OA8JxE/SpOY/iqxTYID52xNcBGdoFLnmbaR?= =?us-ascii?Q?fUQPCqHpsrWx5CNOT4GRBrkifiop38CaNjjcPOvPtLqR86MF2MoTbxptLBXP?= =?us-ascii?Q?CkX4aOsk5Eb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d2uWjygD2/rpWCYn6TDROnTaF3fGEHkDl++L41jLzxMQ7kPEH1LeEk2vKds9Ihpl8KUcU+UzNZpwISpCUwNph6ILlZArDlFFJKhXr+wq3s=;7:44wjDPUGH1kPfJw5xGreyuHm+wrySaB6B56sfkC8V1B/HX3sMov5Zn5uiMP9mCJ5Iqj1mSIdHlgcSdCOel8gVBWsGsAeuPalaQEs5zUKfb7C4OJuGS3SGFVBLdT1sTupUW56qMYrEugTeBNvvKTzpoiBuHK45F9CECuR9qB9BNK4qcbpxzodkWaEyDRPZe5wUXwa8juhAacmG7us3EOIqdzJ4JyhAnRobZVL095gL7MvVjKl/doPIi/WwDE1a3rU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2018 17:44:57.5813 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 192a8ccb-bf5e-42f1-267a-08d5851c4f3e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2864 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 08, 2018 at 09:23:12AM -0800, Joe Perches wrote: > On Thu, 2018-03-08 at 10:03 -0700, Jason Gunthorpe wrote: > > On Thu, Mar 08, 2018 at 08:39:38AM -0800, Joe Perches wrote: > > > On Thu, 2018-03-08 at 09:18 -0700, Jason Gunthorpe wrote: > > > > On Thu, Mar 08, 2018 at 04:40:58PM +1100, Stephen Rothwell wrote: > > > > > Hi all, > > > > > > > > > > Commit > > > > > > > > > > aa0de36a40f4 ("RDMA/mlx5: Fix integer overflow while resizing CQ") > > > > > > > > > > is missing a Signed-off-by from its author. > > > > > > > > Thanks Stephen, > > > > > > > > May I suggest to the checkpatch maintainers that checkpack should look > > > > for this too? > > > > > > No such commit in current -hext > > > $ git status HEAD > > > HEAD detached at next-20180308 > > > > https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=for-rc&id=aa0de36a40f446f5a21a7c1e677b98206e242edb > > > > > checkpatch doesn't try to match email sender to sign-off > > > as the email sender doesn't have to sign-off on a patch. > > > > > > It currently does: > > > > > > if ($is_patch && $has_commit_log && $chk_signoff && $signoff == 0) { > > > ERROR("MISSING_SIGN_OFF", > > > "Missing Signed-off-by: line(s)\n"); > > > } > > > > If I were to suggest an exact check it would be that the commit git > > author and commit git commiter both have signed-off-by lines, > > The git commit committer can't be known by checkpatch. > > It just looks at patches. Well, it would have to extract the git From line and look up the commit ID in the local git to find that information. Obviously not a work flow for everyone.. > The original author of any patch can't be known either. > > There is a mechanism to add a "From:" line that is > supposed to represent the sender of the patch, but that > person may not be the original author. Well, I would be happy if checkpatch computed the author the same way git-am did and used that to check the signed-off-by .. If I recall, git am looks for a 'From ' header at the top of the body to override the email header? I only ask becuase I keep seeing these reports from Stephen and usuaully by the time it gets to him it requires a disruptive rebase to fix.. Jason