]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
security: smack: Fix indentation in smack_netfilter.c
authorGiSeong Ji <jiggyjiggy0323@gmail.com>
Thu, 22 Aug 2024 09:18:06 +0000 (18:18 +0900)
committerCasey Schaufler <casey@schaufler-ca.com>
Thu, 22 Aug 2024 20:38:56 +0000 (13:38 -0700)
Aligned parameters in the function declaration of smack_ip_output
to adhere to the Linux kernel coding style guidelines.

The parameters of the smack_ip_output function were previously misaligned,
with the second and third parameters not aligned under the first parameter.
This change corrects the indentation, improving code readability and
maintaining consistency with the rest of the codebase.

Signed-off-by: GiSeong Ji <jiggyjiggy0323@gmail.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_netfilter.c

index b945c1d3a7431a5a98bdce8da66dc3cb43ac7508..709b1fcff514e38c0ca793f7fcde54c8d3d5b1f1 100644 (file)
@@ -19,8 +19,8 @@
 #include "smack.h"
 
 static unsigned int smack_ip_output(void *priv,
-                                       struct sk_buff *skb,
-                                       const struct nf_hook_state *state)
+                                   struct sk_buff *skb,
+                                   const struct nf_hook_state *state)
 {
        struct sock *sk = skb_to_full_sk(skb);
        struct socket_smack *ssp;