Thread (3 messages) 3 messages, 2 authors, 2019-07-04

Re: [PATCH -next] integrity: Remove set but not used variable 'acl'

From: Yuehaibing <hidden>
Date: 2019-07-04 01:23:23
Also in: kernel-janitors, lkml

On 2019/7/3 21:57, David Howells wrote:
YueHaibing [off-list ref] wrote:
quoted
Fixes gcc '-Wunused-but-set-variable' warning:

security/integrity/digsig.c: In function 'integrity_init_keyring':
security/integrity/digsig.c:99:18: warning:
 variable 'acl' set but not used [-Wunused-but-set-variable]

It seems 'acl' is needed in __integrity_init_keyring
I've folded this fix in, thanks.
Thanks, also I write a wrong patch title.
David

.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help