Re: linux-next: build warning after merge of the final tree(driver-core tree related)
From: Ming Lei
Date: Wed Jun 19 2013 - 21:34:59 EST
On Wed, Jun 19, 2013 at 10:38 PM, Greg KH <greg@xxxxxxxxx> wrote:
> 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?
No problem, will send you a patch together with the merge patch.
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/