[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <lTqravVBK9-oBbja6fvn3DqA3lv42gF_wg4Q9fC0FhfG1DbinZb4oKl7JV_meJYykJtkvN2gXhy-bCAgIlRglRT2z-oQ6wFF6aPx2vo-ZAs=@protonmail.ch>
Date: Mon, 06 Apr 2020 12:02:27 +0000
From: Jordan Glover <Golden_Miller83@...tonmail.ch>
To: LSM List <linux-security-module@...r.kernel.org>
Cc: "SMACK-discuss@...ts.01.org" <SMACK-discuss@...ts.01.org>,
Casey Schaufler <casey@...aufler-ca.com>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
"Schaufler, Casey" <casey.schaufler@...el.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [SMACK] Build-time warning from Linux 5.6.2: unused variable ‘sip’
Hello, during build of Linux 5.6.2 (also happened on 5.5.x series)
gcc (9.3) prints following warning:
security/smack/smack_lsm.c: In function ‘smack_socket_connect’:
security/smack/smack_lsm.c:2838:24: warning: unused variable ‘sip’ [-Wunused-variable]
2838 | struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap;
My kernel has set CONFIG_IPV6=n during build.
Jordan
Powered by blists - more mailing lists