Re: [PATCH] firmware: fix -Wunused-function compiler warnings

2019-07-31 Thread Takashi Iwai
On Wed, 31 Jul 2019 14:44:37 +0200, Greg KH wrote: > > On Tue, Jul 23, 2019 at 09:32:02AM -0400, Qian Cai wrote: > > The commit 5342e7093ff2 ("firmware: Factor out the paged buffer handling > > code") introduced a few compilation warnings when > > CONFIG_FW_LOADER_USER_HELPER=n due to fw_grow_page

Re: [PATCH] firmware: fix -Wunused-function compiler warnings

2019-07-31 Thread Greg KH
On Tue, Jul 23, 2019 at 09:32:02AM -0400, Qian Cai wrote: > The commit 5342e7093ff2 ("firmware: Factor out the paged buffer handling > code") introduced a few compilation warnings when > CONFIG_FW_LOADER_USER_HELPER=n due to fw_grow_paged_buf() and > fw_grow_paged_buf() are only used in > drivers/b

[PATCH] firmware: fix -Wunused-function compiler warnings

2019-07-23 Thread Qian Cai
The commit 5342e7093ff2 ("firmware: Factor out the paged buffer handling code") introduced a few compilation warnings when CONFIG_FW_LOADER_USER_HELPER=n due to fw_grow_paged_buf() and fw_grow_paged_buf() are only used in drivers/base/firmware_loader/fallback.c, and the later will only be built if