diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-25 11:47:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 11:43:24 -0700 |
commit | a1d26ac0ddc4ea561e17a75dd3b5f9d3c1812f16 (patch) | |
tree | 79cb1ad0ccb5b8469be07710b5576c015b899c98 /net/ipv4 | |
parent | 6b9606106ba58d2bd80610f97e06fea58206b47c (diff) |
Extcon: check for allocation failure
Return -ENOMEM if the kmalloc() fails.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions