Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579187
| From | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] include: Fix checkpatch whitespace error and warning |
| Date | 2017-02-12 11:40 +0100 |
| Message-ID | <t9ZJw-59l-9@gated-at.bofh.it> (permalink) |
| References | <t9Syl-t0-5@gated-at.bofh.it> <t9Syl-t0-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello!
On 2/12/2017 5:57 AM, Tobin C. Harding wrote:
> This patch fixes two trivial whitespace messages (ERROR/WARNING).
> Fixes trailing whitespace ERROR and fixes space before tabs WARNING.
>
> Signed-off-by: Tobin C. Harding <me@tobin.cc>
> ---
> include/linux/idr.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/idr.h b/include/linux/idr.h
> index 3c01b89..4a8de2f 100644
> --- a/include/linux/idr.h
> +++ b/include/linux/idr.h
> @@ -1,6 +1,6 @@
> /*
> * include/linux/idr.h
> - *
> + *
> * 2002-10-18 written by Jim Houston jim.houston@ccur.com
> * Copyright (C) 2002 by Concurrent Computer Corporation
> * Distributed under the GNU GPL license version 2.
> @@ -183,7 +183,7 @@ static inline void *idr_find(struct idr *idr, int id)
> */
> #define IDA_CHUNK_SIZE 128 /* 128 bytes per chunk */
> #define IDA_BITMAP_LONGS (IDA_CHUNK_SIZE / sizeof(long) - 1)
> -#define IDA_BITMAP_BITS (IDA_BITMAP_LONGS * sizeof(long) * 8)
> +#define IDA_BITMAP_BITS (IDA_BITMAP_LONGS * sizeof(long) * 8)
Why replace tab with spaces?!
[...]
MBR, Sergei
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] include: Fix checkpatch whitespace error and warning "Tobin C. Harding" <me@tobin.cc> - 2017-02-12 04:00 +0100 Re: [PATCH 1/2] include: Fix checkpatch whitespace error and warning Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-02-12 11:40 +0100 RE: [PATCH 1/2] include: Fix checkpatch whitespace error and warning Matthew Wilcox <mawilcox@microsoft.com> - 2017-02-12 13:20 +0100
csiph-web