* [sound:topic/asus-e100h-4.10 5/26] arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
@ 2017-02-23 22:26 kbuild test robot
2017-02-24 9:24 ` Hans de Goede
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2017-02-23 22:26 UTC (permalink / raw)
To: Hans de Goede; +Cc: Takashi Iwai, alsa-devel, Andy Shevchenko, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2514 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/asus-e100h-4.10
head: c86c0067e6111324a39f523c250c8b1089b1d822
commit: d97e0b9238852206e9dce1de994ff8d2791f6429 [5/26] x86/platform/intel/iosf_mbi: Add a PMIC bus access notifier
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout d97e0b9238852206e9dce1de994ff8d2791f6429
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from arch/x86/platform/intel-quark/imr.c:30:0:
>> arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
^~~~~~~~~~~~~~
arch/x86/include/asm/iosf_mbi.h:144:57: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
^~~~~~~~~~~~~~
vim +137 arch/x86/include/asm/iosf_mbi.h
121
122 /**
123 * iosf_mbi_register_pmic_bus_access_notifier - Register PMIC bus notifier
124 *
125 * This function can be used by drivers which may need to acquire P-Unit
126 * managed resources from interrupt context, where iosf_mbi_punit_acquire()
127 * can not be used.
128 *
129 * This function allows a driver to register a notifier to get notified (in a
130 * process context) before other drivers start accessing the PMIC bus.
131 *
132 * This allows the driver to acquire any resources, which it may need during
133 * the window the other driver is accessing the PMIC, before hand.
134 *
135 * @nb: notifier_block to register
136 */
> 137 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
138
139 /**
140 * iosf_mbi_register_pmic_bus_access_notifier - Unregister PMIC bus notifier
141 *
142 * @nb: notifier_block to unregister
143 */
144 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
145
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58003 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sound:topic/asus-e100h-4.10 5/26] arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
2017-02-23 22:26 [sound:topic/asus-e100h-4.10 5/26] arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration kbuild test robot
@ 2017-02-24 9:24 ` Hans de Goede
2017-02-24 10:04 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2017-02-24 9:24 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Andy Shevchenko
Hi,
I'm sending out a new v4 of the "coordinate cht i2c-pmic and i915-punit accesses"
patch-set fixing this.
Regards,
Hans
On 23-02-17 23:26, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/asus-e100h-4.10
> head: c86c0067e6111324a39f523c250c8b1089b1d822
> commit: d97e0b9238852206e9dce1de994ff8d2791f6429 [5/26] x86/platform/intel/iosf_mbi: Add a PMIC bus access notifier
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
> git checkout d97e0b9238852206e9dce1de994ff8d2791f6429
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All warnings (new ones prefixed by >>):
>
> In file included from arch/x86/platform/intel-quark/imr.c:30:0:
>>> arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
> int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
> ^~~~~~~~~~~~~~
> arch/x86/include/asm/iosf_mbi.h:144:57: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
> int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
> ^~~~~~~~~~~~~~
>
> vim +137 arch/x86/include/asm/iosf_mbi.h
>
> 121
> 122 /**
> 123 * iosf_mbi_register_pmic_bus_access_notifier - Register PMIC bus notifier
> 124 *
> 125 * This function can be used by drivers which may need to acquire P-Unit
> 126 * managed resources from interrupt context, where iosf_mbi_punit_acquire()
> 127 * can not be used.
> 128 *
> 129 * This function allows a driver to register a notifier to get notified (in a
> 130 * process context) before other drivers start accessing the PMIC bus.
> 131 *
> 132 * This allows the driver to acquire any resources, which it may need during
> 133 * the window the other driver is accessing the PMIC, before hand.
> 134 *
> 135 * @nb: notifier_block to register
> 136 */
> > 137 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
> 138
> 139 /**
> 140 * iosf_mbi_register_pmic_bus_access_notifier - Unregister PMIC bus notifier
> 141 *
> 142 * @nb: notifier_block to unregister
> 143 */
> 144 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
> 145
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sound:topic/asus-e100h-4.10 5/26] arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration
2017-02-24 9:24 ` Hans de Goede
@ 2017-02-24 10:04 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2017-02-24 10:04 UTC (permalink / raw)
To: Hans de Goede; +Cc: alsa-devel, Andy Shevchenko
On Fri, 24 Feb 2017 10:24:27 +0100,
Hans de Goede wrote:
>
> Hi,
>
> I'm sending out a new v4 of the "coordinate cht i2c-pmic and i915-punit accesses"
> patch-set fixing this.
Thanks!
Just for avoid confusion: I'm keeping the patches in the branch only
for experiments, not meant for merge through my tree.
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-24 10:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 22:26 [sound:topic/asus-e100h-4.10 5/26] arch/x86/include/asm/iosf_mbi.h:137:55: warning: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration kbuild test robot
2017-02-24 9:24 ` Hans de Goede
2017-02-24 10:04 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.