commit | 2572c7fb4e4b941af9a0206ac8093d362ae6d371 | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Thu Mar 10 17:51:11 2016 +0530 |
committer | Jon Mason <jdmason@kudzu.us> | Thu Mar 17 20:52:15 2016 -0400 |
tree | 108abf8ced1b14f933e9415f48df1dbb99c2bac6 | |
parent | ee5f750f1c9d675028ecedc5439b7171f6647cb8 [diff] |
ntb: fix possible NULL dereference kmalloc can fail and we should check for NULL before using the pointer returned by kmalloc. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>