diff options
author | Insu Yun <wuninsu@gmail.com> | 2015-10-19 18:57:10 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-21 22:41:19 +0200 |
commit | fe274c5aed1b5e311e0e83306572b70312c0313a (patch) | |
tree | 393dd2630ce412b115271c3ba454609816633535 /scripts/mkuboot.sh | |
parent | MAINTAINERS: update usnic maintainer contacts (diff) | |
download | linux-fe274c5aed1b5e311e0e83306572b70312c0313a.tar.xz linux-fe274c5aed1b5e311e0e83306572b70312c0313a.zip |
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>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions