[PATCH] hyperv: Fix error return code in netvsc_init_buf()
Haiyang Zhang
haiyangz at microsoft.com
Wed Jul 23 15:25:29 UTC 2014
> -----Original Message-----
> From: weiyj_lk at 163.com [mailto:weiyj_lk at 163.com]
> Sent: Tuesday, July 22, 2014 9:01 PM
> To: KY Srinivasan; Haiyang Zhang
> Cc: Wei Yongjun; devel at linuxdriverproject.org; netdev at vger.kernel.org
> Subject: [PATCH] hyperv: Fix error return code in netvsc_init_buf()
>
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> Fix to return -ENOMEM from the kalloc error handling
> case instead of 0.
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
Reviewed-by: Haiyang Zhang <haiyangz at microsoft.com>
Good catch.
Thanks,
- Haiyang
More information about the devel
mailing list