diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2015-02-05 17:01:37 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 15:53:34 -0800 |
commit | e8a308affcd79d95dad111f7872e43e9f73abb3b (patch) | |
tree | ba1adb78dc72aa84b5d3fa807df50f26926d430f /drivers/misc | |
parent | 7744b5f3693cc06695cb9d6667671c790282730f (diff) | |
download | linux-e8a308affcd79d95dad111f7872e43e9f73abb3b.tar.bz2 |
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions