]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: Delete an error message for a failed memory allocation in get_derived_key()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 8 Jun 2017 13:47:56 +0000 (14:47 +0100)
committerJames Morris <james.l.morris@oracle.com>
Fri, 9 Jun 2017 03:29:46 +0000 (13:29 +1000)
commit1d03ec94315cfe2375d56febee0f0b4715c8988f
tree0a992d5a59483175181e124afce1a2d89de09d84
parentfc2107027e18a0eb2f0a520328fa9f55bb053509
KEYS: Delete an error message for a failed memory allocation in get_derived_key()

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/keys/encrypted-keys/encrypted.c