commit | e8a308affcd79d95dad111f7872e43e9f73abb3b | [log] [tgz] |
---|---|---|
author | Kiran Padwal <kiran.padwal@smartplayin.com> | Thu Feb 05 17:01:37 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 05 15:53:34 2015 -0800 |
tree | ba1adb78dc72aa84b5d3fa807df50f26926d430f | |
parent | 7744b5f3693cc06695cb9d6667671c790282730f [diff] |
ARCNET: Add missing error check for devm_kzalloc This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: David S. Miller <davem@davemloft.net>