Re: [RFC PATCH v1 12/15] firmware: introducedevice_cache/uncache_fw_images

From: Andrew Morton
Date: Thu Sep 06 2012 - 18:44:54 EST


On Sat, 4 Aug 2012 12:01:27 +0800
Ming Lei <ming.lei@xxxxxxxxxxxxx> wrote:

> This patch introduces the three helpers below:
>
> void device_cache_fw_images(void)
> void device_uncache_fw_images(void)
> void device_uncache_fw_images_delay(unsigned long)

CONFIG_PM=n:

drivers/base/firmware_class.c:1147: warning: 'device_cache_fw_images' defined but not used
drivers/base/firmware_class.c:1212: warning: 'device_uncache_fw_images_delay' defined but not used

the fix is not trivial - this patch added quite a lot of code and data
structure bloat which will never be used on CONFIG_PM=n kernels.


(Well, a trivial fix would be to eradicate CONFIG_PM=n, but...)
--
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/