public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:31:6: error: redefinition of 'brcmf_debugfs_init'
Date: Tue, 16 Oct 2012 03:20:23 +0000	[thread overview]
Message-ID: <20121016032023.GC16754@localhost> (raw)
In-Reply-To: <20121016031708.GA16754@localhost>

Hi Arend,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head:   29bb4cc5e0547a7589556f8629e39016c5d203c0
commit: 80969836a7ddde326d3f289d234e9e2d9ed27272 brcmfmac: expose sdio internal counters in debugfs
date:   4 months ago
config: cris-allyesconfig # make ARCH=cris allyesconfig


All error/warnings:

drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:31:6: error: redefinition of 'brcmf_debugfs_init'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h:123:20: note: previous definition of 'brcmf_debugfs_init' was here
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:38:6: error: redefinition of 'brcmf_debugfs_exit'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h:126:20: note: previous definition of 'brcmf_debugfs_exit' was here
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:47:5: error: redefinition of 'brcmf_debugfs_attach'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h:129:19: note: previous definition of 'brcmf_debugfs_attach' was here
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_attach':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:52:6: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:53:21: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: At top level:
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:56:6: error: redefinition of 'brcmf_debugfs_detach'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h:133:20: note: previous definition of 'brcmf_debugfs_detach' was here
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_detach':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:58:26: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:59:32: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_get_devdir':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:64:13: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_create_sdio_count':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:121:30: error: 'struct brcmf_pub' has no member named 'dbgfs_dir'
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_get_devdir':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:65:1: warning: control reaches end of non-void function [-Wreturn-type]
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c: In function 'brcmf_debugfs_attach':
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:54:1: warning: control reaches end of non-void function [-Wreturn-type]

vim +31 drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c

d319a7cf Arend van Spriel 2012-06-09  25  #include "dhd.h"
d319a7cf Arend van Spriel 2012-06-09  26  #include "dhd_bus.h"
80969836 Arend van Spriel 2012-06-09  27  #include "dhd_dbg.h"
d319a7cf Arend van Spriel 2012-06-09  28  
d319a7cf Arend van Spriel 2012-06-09  29  static struct dentry *root_folder;
d319a7cf Arend van Spriel 2012-06-09  30  
d319a7cf Arend van Spriel 2012-06-09 @31  void brcmf_debugfs_init(void)
d319a7cf Arend van Spriel 2012-06-09  32  {
d319a7cf Arend van Spriel 2012-06-09  33  	root_folder = debugfs_create_dir(KBUILD_MODNAME, NULL);
d319a7cf Arend van Spriel 2012-06-09  34  	if (IS_ERR(root_folder))

The code at line 31 was first introduced by commit:
d319a7c brcmfmac: add debugfs helper functions

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

      reply	other threads:[~2012-10-16  3:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16  3:17 drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c:50:6: error: 'struct brcmf_pub' has no member name Fengguang Wu
2012-10-16  3:20 ` Fengguang Wu [this message]

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=20121016032023.GC16754@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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