sata_via: restore vt*_prepare_host error handling
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 2 Nov 2008 21:18:52 +0000 (22:18 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 4 Nov 2008 06:08:06 +0000 (01:08 -0500)
commit554d491de112a378b4d1a705bb93b58bcd444a70
tree020ac5c2f15cfd04b53c2798eb19d9e00be1413e
parentcadef677e4a9b9c1d069675043767df486782986
sata_via: restore vt*_prepare_host error handling

commit b9d5b89b487517cbd4cb4702da829e07ef9e4432 (sata_via: fix support
for 5287) accidently (?) removed vt*_prepare_host error handling - restore it

catched by gcc:
drivers/ata/sata_via.c: In function 'svia_init_one':
drivers/ata/sata_via.c:567: warning: 'host' may be used uninitialized in this function

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_via.c