Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	kbuild-all@01.org
Subject: [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
Date: Fri, 24 Feb 2017 06:26:06 +0800	[thread overview]
Message-ID: <201702240641.IbhRlZCe%fengguang.wu@intel.com> (raw)

[-- 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 --]



             reply	other threads:[~2017-02-23 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 22:26 kbuild test robot [this message]
2017-02-24  9:24 ` [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 Hans de Goede
2017-02-24 10:04   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201702240641.IbhRlZCe%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox