Re: [PATCH] arm64: fix commit style in the comments

From: Catalin Marinas
Date: Wed Nov 07 2018 - 04:19:01 EST


On Wed, Nov 07, 2018 at 11:39:11PM +0800, Peng Hao wrote:
> Use git commit description style 'commit <12+ chars of sha1>
> ("<title line>")' in the comments.
>
> Signed-off-by: Peng Hao <peng.hao2@xxxxxxxxxx>
> ---
> arch/arm64/kernel/sys32.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/kernel/sys32.c b/arch/arm64/kernel/sys32.c
> index 0f8bcb7..8317a5a 100644
> --- a/arch/arm64/kernel/sys32.c
> +++ b/arch/arm64/kernel/sys32.c
> @@ -40,8 +40,8 @@
> * arbitrary binaries may rely upon it, so we must do the same.
> * For more details, see commit:
> *
> - * 713c481519f19df9 ("[ARM] 3108/2: old ABI compat: statfs64 and
> - * fstatfs64")
> + * commit 713c481519f19df9 ("[ARM] 3108/2: old ABI compat: statfs64
> + * and fstatfs64")

Seriously, how does this help? It already states "see commit:" on the
previous line.

--
Catalin