]> Pileus Git - ~andy/linux/commit
skd: fix error return code in skd_pci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 05:23:53 +0000 (13:23 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:10:29 +0000 (09:10 -0700)
commit1762b57fcbe365c2e3f79769a7fe77942ea3165f
tree1dcd52b99331a109a3fdde23155d37acd57c5690
parentef0899410ff630b2e75306da49996dbbfa318165
skd: fix error return code in skd_pci_probe()

Fix to return -ENOMEM in the skd construct error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c