public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH]  arm64: fix commit style in the comments
  2018-11-07 15:39 [PATCH] arm64: fix commit style in the comments Peng Hao
@ 2018-11-07  9:18 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2018-11-07  9:18 UTC (permalink / raw)
  To: linux-arm-kernel

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@zte.com.cn>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH]  arm64: fix commit style in the comments
@ 2018-11-07 15:39 Peng Hao
  2018-11-07  9:18 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Hao @ 2018-11-07 15:39 UTC (permalink / raw)
  To: linux-arm-kernel

Use git commit description style 'commit <12+ chars of sha1>
("<title line>")' in the comments.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
---
 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")
 	 */
 	if (sz == 88)
 		sz = 84;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-07 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-07 15:39 [PATCH] arm64: fix commit style in the comments Peng Hao
2018-11-07  9:18 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox