Skip to content

Commit 2b99964

Browse files
mihalicynbrauner
authored andcommitted
af_unix/scm: fix whitespace errors
Fix whitespace/formatting errors. Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: Simon Horman <horms@kernel.org> Cc: Leon Romanovsky <leon@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christian Brauner <brauner@kernel.org> Cc: Kuniyuki Iwashima <kuniyu@google.com> Cc: Lennart Poettering <mzxreary@0pointer.de> Cc: Luca Boccassi <bluca@debian.org> Cc: David Rheinsberg <david@readahead.eu> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> Link: https://lore.kernel.org/20250703222314.309967-5-aleksandr.mikhalitsyn@canonical.com Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 30580dc commit 2b99964

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/net/scm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_co
6969
static __inline__ void scm_set_cred(struct scm_cookie *scm,
7070
struct pid *pid, kuid_t uid, kgid_t gid)
7171
{
72-
scm->pid = get_pid(pid);
72+
scm->pid = get_pid(pid);
7373
scm->creds.pid = pid_vnr(pid);
7474
scm->creds.uid = uid;
7575
scm->creds.gid = gid;
@@ -78,7 +78,7 @@ static __inline__ void scm_set_cred(struct scm_cookie *scm,
7878
static __inline__ void scm_destroy_cred(struct scm_cookie *scm)
7979
{
8080
put_pid(scm->pid);
81-
scm->pid = NULL;
81+
scm->pid = NULL;
8282
}
8383

8484
static __inline__ void scm_destroy(struct scm_cookie *scm)

net/unix/af_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ static void unix_destruct_scm(struct sk_buff *skb)
19291929
struct scm_cookie scm;
19301930

19311931
memset(&scm, 0, sizeof(scm));
1932-
scm.pid = UNIXCB(skb).pid;
1932+
scm.pid = UNIXCB(skb).pid;
19331933
if (UNIXCB(skb).fp)
19341934
unix_detach_fds(&scm, skb);
19351935

0 commit comments

Comments
 (0)