summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-04-30 15:32:34 +0200
committerJames Morris <jmorris@namei.org>2010-05-06 02:56:55 +0200
commit2b9e4688fad8867b6e918610f396af3ab9246898 (patch)
treec0146493e6ea4dff7b51259de1d7e83729a26c94 /drivers/spi
parentKEYS: keyring_serialise_link_sem is only needed for keyring->keyring links (diff)
downloadlinux-2b9e4688fad8867b6e918610f396af3ab9246898.tar.xz
linux-2b9e4688fad8867b6e918610f396af3ab9246898.zip
KEYS: Better handling of errors from construct_alloc_key()
Errors from construct_alloc_key() shouldn't just be ignored in the way they are by construct_key_and_link(). The only error that can be ignored so is EINPROGRESS as that is used to indicate that we've found a key and don't need to construct one. We don't, however, handle ENOMEM, EDQUOT or EACCES to indicate allocation failures of one sort or another. Reported-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions