Skip to content
Commit f667fdbb authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata: initialize port_task when !CONFIG_ATA_SFF



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: default avatarTejun Heo <tj@kernel.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 2515ddc6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment