Re: [PATCH v3 7/8] genhd.h: Remove trailing white space

From: Ingo Molnar
Date: Tue Oct 24 2017 - 06:10:17 EST



* Byungchul Park <byungchul.park@xxxxxxx> wrote:

> Trailing white space is not accepted in kernel coding style. Remove
> them.
>
> Signed-off-by: Byungchul Park <byungchul.park@xxxxxxx>
> ---
> include/linux/genhd.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/genhd.h b/include/linux/genhd.h
> index ea652bf..6d85a75 100644
> --- a/include/linux/genhd.h
> +++ b/include/linux/genhd.h
> @@ -3,7 +3,7 @@
>
> /*
> * genhd.h Copyright (C) 1992 Drew Eckhardt
> - * Generic hard disk header file by
> + * Generic hard disk header file by
> * Drew Eckhardt
> *
> * <drew@xxxxxxxxxxxx>
> @@ -471,7 +471,7 @@ struct bsd_disklabel {
> __s16 d_type; /* drive type */
> __s16 d_subtype; /* controller/d_type specific */
> char d_typename[16]; /* type name, e.g. "eagle" */
> - char d_packname[16]; /* pack identifier */
> + char d_packname[16]; /* pack identifier */
> __u32 d_secsize; /* # of bytes per sector */
> __u32 d_nsectors; /* # of data sectors per track */
> __u32 d_ntracks; /* # of tracks per cylinder */

This patch should not be part of this lockdep series - please send it to Jens
separately - who might or might not apply it, depending on the subsystem's policy
regarding whitespace-only patches.

Thanks,

Ingo