]> git.karo-electronics.de Git - linux-beck.git/commit
sata_dwc_460ex: fix most of the sparse warnings
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Jan 2015 13:24:22 +0000 (15:24 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 8 Jan 2015 13:27:02 +0000 (08:27 -0500)
commitd7c256e857c12597813d631a7890a19bbbb6f3a5
treef8a3df27bc1044651a5be7ac636d036402629f2f
parent84683a7e081ff60e75039cd2475776654ebbf526
sata_dwc_460ex: fix most of the sparse warnings

There are a lot sparse warnings. Most of them related to __iomem keyword which
sometimes absent when it's needed and vise versa.

The patch fixes most of the warnings.

While at it, remove the redundant sata_dwc_sht.can_queue
initialization to ATA_DEF_QUEUE.

tj: Added description about ATA_DEF_QUEUE init removal.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c