]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Force type-casting of current->real_cred
authorBharath Vedartham <linux.bhar@gmail.com>
Tue, 23 Apr 2019 16:53:00 +0000 (22:23 +0530)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 20 Jun 2019 17:33:31 +0000 (10:33 -0700)
commit82211ea4daf58dd88fcc68a042a646f714a92f13
tree41077de4a0aad29cce631c61879dbff1a3c81816
parent59e483cc7764aa36fd0f25728ed7ab1a9aca0080
apparmor: Force type-casting of current->real_cred

This patch fixes the sparse warning:
warning: cast removes address space '<asn:4>' of expression.

Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c