]> asedeno.scripts.mit.edu Git - linux.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)
commitbf1d2ee7bc6215dd92427625a4c707227457a5db
tree41077de4a0aad29cce631c61879dbff1a3c81816
parent058c4f342582362c75dd5e162dc4ff73a392ffad
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