commit | fe274c5aed1b5e311e0e83306572b70312c0313a | [log] [tgz] |
---|---|---|
author | Insu Yun <wuninsu@gmail.com> | Mon Oct 19 16:57:10 2015 +0000 |
committer | Doug Ledford <dledford@redhat.com> | Wed Oct 21 16:41:19 2015 -0400 |
tree | 393dd2630ce412b115271c3ba454609816633535 | |
parent | 35ef4a9ebfe3392da8ca025c8c16365c9da472e5 [diff] |
usnic: correctly handle kzalloc return value Since kzalloc returns memory address, not error code, it should be checked whether it is null or not. Signed-off-by: Insu Yun <wuninsu@gmail.com> Reviewed-by: Dave Goodell <dgoodell@cisco.com> Signed-off-by: Doug Ledford <dledford@redhat.com>