Re: linux-next: build warning after merge of the final tree(driver-core tree related)

From: Greg KH
Date: Wed Jun 19 2013 - 10:37:50 EST


On Wed, Jun 19, 2013 at 06:00:27PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the final tree, today's linux-next build (powerpc
> allnoconfig among others) produced these warnings:
>
> drivers/base/firmware_class.c:1254:12: warning: 'cache_firmware' defined but not used [-Wunused-function]
> static int cache_firmware(const char *fw_name)
> ^
> drivers/base/firmware_class.c:1281:12: warning: 'uncache_firmware' defined but not used [-Wunused-function]
> static int uncache_firmware(const char *fw_name)
> ^
>
> Revealed by commit 93232e46b209 ("firmware loader: don't export
> cache_firmware and uncache_firmware") from the driver-core tree. These
> are only used if CONFIG_PM_SLEEP is set.

Odd. Ming, can you send me a patch for this?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/