# \[RFC PATCH\] LSM: audit\_sig\_lsm can be static

- From: kernel test robot \<hidden\>
- Date: 2021-03-09 19:46:32 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2021/03/14683623
- Thread: https://ratatoskr.run/linux-security-module/2021/03/6293817/t.md

```text

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 audit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/audit.c b/kernel/audit.c
index c061331046956..c32df242a3726 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -125,7 +125,7 @@ static u32	audit_backlog_wait_time = AUDIT_BACKLOG_WAIT_TIME;
 /* The identity of the user shutting down the audit system. */
 static kuid_t		audit_sig_uid = INVALID_UID;
 static pid_t		audit_sig_pid = -1;
-struct lsmblob		audit_sig_lsm;
+static struct lsmblob		audit_sig_lsm;
 
 /* Records can be lost in several ways:
    0) [suppressed in audit_alloc]
```
