Re: [PATCH] checkpatch: Validate Fixes: tag using 'commit' checks

2019-09-03 Thread Sean Christopherson
On Sat, Aug 31, 2019 at 11:39:39AM +1000, Stephen Rothwell wrote: > Hi Sean, > > On Fri, 30 Aug 2019 09:36:58 -0700 Sean Christopherson > wrote: > > > > @@ -2803,10 +2805,15 @@ sub process { > > ($id, $description) = git_commit_info($orig_commit, > >

Re: [PATCH] checkpatch: Validate Fixes: tag using 'commit' checks

2019-08-30 Thread Stephen Rothwell
Hi Sean, On Fri, 30 Aug 2019 09:36:58 -0700 Sean Christopherson wrote: > > @@ -2803,10 +2805,15 @@ sub process { > ($id, $description) = git_commit_info($orig_commit, > $id, $orig_desc); > > -

[PATCH] checkpatch: Validate Fixes: tag using 'commit' checks

2019-08-30 Thread Sean Christopherson
Rework checkpatch's commit checking to explicitly include the Fixes: tag so that it catches errors like too short[1] or fat fingered[2] SHA1 references. Add a new Fixes-only check to verify the fixed commit is a valid object in the repository. [1]