]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libata: initialize port_task when !CONFIG_ATA_SFF
authorTejun Heo <tj@kernel.org>
Mon, 20 Oct 2008 04:11:56 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Nov 2008 03:05:40 +0000 (19:05 -0800)
commit052b0b637259e81fb17fbebd45db5098aef49c72
treedd4b85d8411c8c239758e9874bb3855a91bc5192
parent0c7e4714bce40c3e7f8890eda8fc6f83bff2595c
libata: initialize port_task when !CONFIG_ATA_SFF

commit f667fdbbbea8bcce6cf9f7acb51b7cb4c264cc61 upstream

ap->port_task was not initialized if !CONFIG_ATA_SFF later triggering
lockdep warning.  Make sure it's initialized.

Reported by Larry Finger.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-core.c