All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Duncan Roe <duncan_roe@optusnet.com.au>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH libmnl] whitespace: remove spacing irregularities
Date: Mon, 11 Nov 2024 11:30:08 +0100	[thread overview]
Message-ID: <ZzHcsEYWLdt_j0Iy@calendula> (raw)
In-Reply-To: <20241111025608.8683-1-duncan_roe@optusnet.com.au>

On Mon, Nov 11, 2024 at 01:56:08PM +1100, Duncan Roe wrote:
> Two distinct actions:
>  1. Remove trailing spaces and tabs.
>  2. Remove spaces that are followed by a tab, inserting extra tabs
>     as required.
> Action 2 is only performed in the indent region of a line.
> 
> Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
> ---
>  include/linux/netlink.h | 6 +++---
>  src/callback.c          | 4 ++--
>  src/socket.c            | 6 +++---
>  3 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/include/linux/netlink.h b/include/linux/netlink.h
> index ced0e1a..7c26175 100644
> --- a/include/linux/netlink.h
> +++ b/include/linux/netlink.h
> @@ -14,7 +14,7 @@
>  #define NETLINK_SELINUX		7	/* SELinux event notifications */
>  #define NETLINK_ISCSI		8	/* Open-iSCSI */
>  #define NETLINK_AUDIT		9	/* auditing */
> -#define NETLINK_FIB_LOOKUP	10	
> +#define NETLINK_FIB_LOOKUP	10
>  #define NETLINK_CONNECTOR	11
>  #define NETLINK_NETFILTER	12	/* netfilter subsystem */
>  #define NETLINK_IP6_FW		13
> @@ -29,13 +29,13 @@
>  
>  #define NETLINK_INET_DIAG	NETLINK_SOCK_DIAG
>  
> -#define MAX_LINKS 32		
> +#define MAX_LINKS 32

Submit uapi/netlink.h update upstream via netdev@

This is a cached copy of uapi/netlink.h

If I take this, the extra line spaces and indentation will come back
sooner or later.

Thanks.

  reply	other threads:[~2024-11-11 10:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11  2:56 [PATCH libmnl] whitespace: remove spacing irregularities Duncan Roe
2024-11-11 10:30 ` Pablo Neira Ayuso [this message]
2024-11-12 10:03   ` Duncan Roe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZzHcsEYWLdt_j0Iy@calendula \
    --to=pablo@netfilter.org \
    --cc=duncan_roe@optusnet.com.au \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.