Re: [PATCH] apparmor: Force type-casting of current->real_cred

2019-05-07 Thread John Johansen
On 4/23/19 9:53 AM, Bharath Vedartham wrote: > This patch fixes the sparse warning: > warning: cast removes address space '' of expression. > > Signed-off-by: Bharath Vedartham Acked-by: John Johansen I will pull this into my tree > --- > security/apparmor/lsm.c | 2 +- > 1 file changed, 1

[PATCH] apparmor: Force type-casting of current->real_cred

2019-04-23 Thread Bharath Vedartham
This patch fixes the sparse warning: warning: cast removes address space '' of expression. Signed-off-by: Bharath Vedartham --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 87500bd..36478c4