Re: linux-next: Fixes tag needs some work in the amdgpu tree

From: Dan Carpenter
Date: Fri Jul 09 2021 - 03:43:10 EST


On Fri, Jul 09, 2021 at 07:37:11AM +1000, Stephen Rothwell wrote:
> Hi all,
>
> In commit
>
> b612f5c36279 ("drm/amdgpu: unlock on error in amdgpu_ras_debugfs_table_read()")
>
> Fixes tag
>
> Fixes: c65b0805e77919 (""drm/amdgpu: RAS EEPROM table is now in debugfs)
>
> has these problem(s):
>
> - Subject has leading but no trailing quotes
> Just use
> git log -1 --format='Fixes: %h ("%s")'

Oops. Sorry. I've created a fixes.sh like you say.

#!/bin/bash

git log -1 --format='Fixes: %h ("%s")' $*

regards,
dan carpenter