]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit1aef76e9c4c616c91233ece9850e89c91f3fd92a
tree5ea2b9d27e0b419287e1ba8965744fd884edf5f9
parent916cdabc31cc245f4ae81d8113e24446225874c8
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