Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755454AbcKVPwq (ORCPT ); Tue, 22 Nov 2016 10:52:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51218 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbcKVPwo (ORCPT ); Tue, 22 Nov 2016 10:52:44 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1479826691.1942.11.camel@perches.com> References: <1479826691.1942.11.camel@perches.com> <20161122102018.GB1552@wunner.de> <20161117123731.GA11573@wunner.de> <147977469914.6360.17194649697208113702.stgit@warthog.procyon.org.uk> <27422.1479824220@warthog.procyon.org.uk> To: Joe Perches Cc: dhowells@redhat.com, Lukas Wunner , linux-efi@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] x86/efi: Allow invocation of arbitrary runtime services MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24972.1479829961.1@warthog.procyon.org.uk> Date: Tue, 22 Nov 2016 15:52:41 +0000 Message-ID: <24973.1479829961@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 22 Nov 2016 15:52:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1205 Lines: 43 Joe Perches wrote: > > > Small nit, checkpatch usually complains that this should be written as > > > 12-character SHA-1 followed by the commit subject, i.e. > > > > > > 0a637ee61247 ("x86/efi: Allow invocation of arbitrary boot services") > > > > In this case, checkpatch is wrong. > > Why do you think so? Actually, checkpatch doesn't complain about embedded commit IDs anymore, so in that case, it's just about acceptable. Apart from that, I think we should put in the full SHA-1 commit. The probability of a collision in a 12-digit hex number for the >5,000,000 commits just in Linus's tree is currently at ~4.5% and gradually increasing. Add in all the commits in not-yet-upstreamed trees - which might be another million commits, say - then we're over 6%.. Oh, yes, and speaking of checkpatch, can you make it so that if it sees: commit 12345... Author: foo Date: blah Subject line Description lines ... ... ... ... Signed-off-by-and-suchline-lines diff ... with the all description indented by 4 spaces, then assume that it's the output of git show and not give the warnings about signed-off-by and other things being indented? David