Searched hist:"48968177312 e01737c018fdb2430b703831cbc2e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/arm/ |
H A D | fas216.c | diff 48968177312e01737c018fdb2430b703831cbc2e Mon Apr 30 11:26:27 CDT 2012 Arnd Bergmann <arnd@arndb.de> SCSI: ARM: make fas216_dumpinfo function conditional
The fas216_dumpinfo function is only used by __fas216_checkmagic, which is conditionally compiled, so we should put both functions inside of the same #ifdef.
Without this patch, building rpc_defconfig results in:
drivers/scsi/arm/fas216.c:182:13: warning: 'fas216_dumpinfo' defined but not used [-Wunused-function]
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: "James E.J. Bottomley" <JBottomley@parallels.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-scsi@vger.kernel.org
|