diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-02-23 22:12:09 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-02-26 17:45:32 -0500 |
commit | 2572f5b4245abf2b4e5a86cabf65a50efda09aac (patch) | |
tree | c424fe40b5cb4a558d1c011b6eaff3a7eb0e1459 /crypto/algif_skcipher.c | |
parent | d452930fd3b9031e59abfeddb2fa383f1403d61a (diff) | |
download | linux-2572f5b4245abf2b4e5a86cabf65a50efda09aac.tar.gz linux-2572f5b4245abf2b4e5a86cabf65a50efda09aac.tar.bz2 linux-2572f5b4245abf2b4e5a86cabf65a50efda09aac.zip |
selinux: fix typo in selinux_netlbl_sctp_sk_clone declaration
A missing 'struct' keyword caused a build error when CONFIG_NETLABEL
is disabled:
In file included from security/selinux/hooks.c:99:
security/selinux/include/netlabel.h:135:66: error: unknown type name 'sock'
static inline void selinux_netlbl_sctp_sk_clone(struct sock *sk, sock *newsk)
^~~~
security/selinux/hooks.c: In function 'selinux_sctp_sk_clone':
security/selinux/hooks.c:5188:2: error: implicit declaration of function 'selinux_netlbl_sctp_sk_clone'; did you mean 'selinux_netlbl_inet_csk_clone'? [-Werror=implicit-function-declaration]
Fixes: db97c9f9d312 ("selinux: Add SCTP support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions