staging: wilc1000: handle_set_mac_address: fix kmalloc return error code
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 16 Feb 2016 08:39:50 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:55:33 +0000 (16:55 -0800)
commit2b489e0e2673648a048445325f9db2d18fcaae0d
treecab0c97395845c7428e4dd190420a1c1ffc82079
parentb713ce0e498130c2c6f7d0f38410a98ddbb80a32
staging: wilc1000: handle_set_mac_address: fix kmalloc return error code

This patch fix return error code of kmalloc as -ENOMEM instead of
-EFAULT.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
This page took 0.026455 seconds and 5 git commands to generate.