]> git.baikalelectronics.ru Git - kernel.git/commit
caif_virtio: fix error return code in cfv_create_genpool()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 2 Apr 2013 06:15:56 +0000 (16:45 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Apr 2013 06:18:25 +0000 (16:48 +1030)
commit26a1aefed9fa51f746ef4814130f997fa1f29217
tree5ea2b9d27e0b419287e1ba8965744fd884edf5f9
parentd3d2ebf0a063ba7f1439bda282abf76eb3b17997
caif_virtio: fix error return code in cfv_create_genpool()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/caif/caif_virtio.c