Re: [PATCH] firmware: fix build errors in paged buffer handling code

2019-07-22 Thread Takashi Iwai
On Mon, 22 Jul 2019 14:12:02 +0200, Greg Kroah-Hartman wrote: > > On Mon, Jul 22, 2019 at 01:55:20PM +0200, Takashi Iwai wrote: > > On Mon, 22 Jul 2019 07:55:36 +0200, > > Takashi Iwai wrote: > > > > > > From: Mauro Rossi > > > > > > fw_{grow,map}_paged_buf() need to be defined as static inline

Re: [PATCH] firmware: fix build errors in paged buffer handling code

2019-07-22 Thread Greg Kroah-Hartman
On Mon, Jul 22, 2019 at 01:55:20PM +0200, Takashi Iwai wrote: > On Mon, 22 Jul 2019 07:55:36 +0200, > Takashi Iwai wrote: > > > > From: Mauro Rossi > > > > fw_{grow,map}_paged_buf() need to be defined as static inline > > when CONFIG_FW_LOADER_PAGED_BUF is not enabled, > > infact fw_free_paged_b

Re: [PATCH] firmware: fix build errors in paged buffer handling code

2019-07-22 Thread Takashi Iwai
On Mon, 22 Jul 2019 07:55:36 +0200, Takashi Iwai wrote: > > From: Mauro Rossi > > fw_{grow,map}_paged_buf() need to be defined as static inline > when CONFIG_FW_LOADER_PAGED_BUF is not enabled, > infact fw_free_paged_buf() is also defined as static inline > when CONFIG_FW_LOADER_PAGED_BUF is not

[PATCH] firmware: fix build errors in paged buffer handling code

2019-07-21 Thread Takashi Iwai
From: Mauro Rossi fw_{grow,map}_paged_buf() need to be defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled, infact fw_free_paged_buf() is also defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled. Fixes the following mutiple definition building errors for A