From: Joe Lawrence Date: Wed, 25 Jun 2014 21:04:06 +0000 (-0400) Subject: mpt2sas: annotate ioc->reply_post_host_index as __iomem X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42de597eabc2ba837203788170cc57814a9df7a7;p=pandora-kernel.git mpt2sas: annotate ioc->reply_post_host_index as __iomem The MPT2SAS_ADAPTER reply_post_host_index[] holds calculated addresses in memory mapped register space. Add an "__iomem" annotation to silence the following sparse warnings: drivers/scsi/mpt2sas/mpt2sas_base.c:1006:43: warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] *addr got unsigned long long [usertype] * drivers/scsi/mpt2sas/mpt2sas_base.c:4299:22: warning: cast removes address space of expression drivers/scsi/mpt2sas/mpt2sas_base.c:4303:27: warning: cast removes address space of expression Signed-off-by: Joe Lawrence Acked-by: Sreekanth Reddy Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed