net/ark: add null pointer check
authorYong Wang <wang.yong19@zte.com.cn>
Thu, 14 Sep 2017 12:03:56 +0000 (08:03 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
In function ark_config_device(), there are several malloc without null
point check. Fix it by adding null point check.

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Ed Czeck <ed.czeck@atomicrules.com>

No differences found