diff options
author | Wei Yongjun <[email protected]> | 2015-04-30 17:44:54 +0200 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2015-04-30 18:46:28 +0200 |
commit | 89eb6d0677a6daf134015bc7bd5ec1432911eed2 (patch) | |
tree | f59ee0846a8ea01de87d0edc9ec7faecbf9fd3ee /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 2b4d413c3871af0f2ccd466fb6581ed2c2d89438 (diff) |
mac802154: llsec: fix return value check in llsec_key_alloc()
In case of error, the functions crypto_alloc_aead() and crypto_alloc_blkcipher()
returns ERR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions