lkml.org 
[lkml]   [2017]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] KEYS: Fix an error code in request_master_key()
Date
Mimi Zohar <zohar@linux.vnet.ibm.com> wrote:

> On Fri, 2016-12-16 at 12:08 +0300, Dan Carpenter wrote:
> > This function has two callers and neither are able to handle a NULL
> > return. Really, -EINVAL is the correct thing return here anyway. This
> > fixes some static checker warnings like:
> >
> > security/keys/encrypted-keys/encrypted.c:709 encrypted_key_decrypt()
> > error: uninitialized symbol 'master_key'.
> >
> > Fixes: 7e70cb497850 ("keys: add new key-type encrypted")
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> Thanks!

Can I put that down as an Acked-by or Reviewed-by?

David

\
 
 \ /
  Last update: 2017-01-12 14:16    [W:0.298 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site