Re: [PATCH libmnl] whitespace: remove spacing irregularities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> ---
>  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.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux