]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipr: qc_fill_rtf() method should not store alternate status register
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 21 May 2013 19:24:22 +0000 (23:24 +0400)
committerTejun Heo <tj@kernel.org>
Sun, 2 Jun 2013 08:14:40 +0000 (01:14 -0700)
commitf6e984e63638e3bfb0f13f603a0e972a6da07deb
treebda2b6bc9bf89ac0b7af8710924c614a7c8d5d32
parent1b20f6a9adaa4b88d520d279c3d605f65b898625
ipr: qc_fill_rtf() method should not store alternate status register

The 'ctl' field of  the 'struct ata_taskfile' is not really dual purpose, i.e.
it is not intended  for storing the alternate status register (which is mapped
at the same address in the legacy IDE controllers) in the qc_fill_rtf() method.
No other 'libata' driver except 'drivers/scsi/ipr.c' stores the alternate status
register's value in the 'ctl' field of 'qc->result_tf', hence this driver should
not do this as well...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/scsi/ipr.c