From: kbuild test robot <lkp@intel.com>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com,
"David S. Miller" <davem@davemloft.net>,
Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
cphealy@gmail.com,
Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Subject: Re: [PATCH net-next 2/3] net: dsa: move HWMON support to its own file
Date: Wed, 4 Jan 2017 06:33:27 +0800 [thread overview]
Message-ID: <201701040627.EoWltAHU%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170103181538.2593-3-vivien.didelot@savoirfairelinux.com>
[-- Attachment #1: Type: text/plain, Size: 1793 bytes --]
Hi Vivien,
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-restore-HWMON-support-in-dsa2/20170104-055351
config: i386-randconfig-x005-201701 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from net/dsa/dsa.c:26:0:
>> net/dsa/dsa_priv.h:61:5: warning: "CONFIG_NET_DSA_HWMON" is not defined [-Wundef]
#if CONFIG_NET_DSA_HWMON
^~~~~~~~~~~~~~~~~~~~
vim +/CONFIG_NET_DSA_HWMON +61 net/dsa/dsa_priv.h
45 struct net_device *bridge_dev;
46 #ifdef CONFIG_NET_POLL_CONTROLLER
47 struct netpoll *netpoll;
48 #endif
49 };
50
51 /* dsa.c */
52 extern char dsa_driver_version[];
53 int dsa_cpu_dsa_setup(struct dsa_switch *ds, struct device *dev,
54 struct device_node *port_dn, int port);
55 void dsa_cpu_dsa_destroy(struct device_node *port_dn);
56 const struct dsa_device_ops *dsa_resolve_tag_protocol(int tag_protocol);
57 int dsa_cpu_port_ethtool_setup(struct dsa_switch *ds);
58 void dsa_cpu_port_ethtool_restore(struct dsa_switch *ds);
59
60 /* hwmon.c */
> 61 #if CONFIG_NET_DSA_HWMON
62 void dsa_hwmon_register(struct dsa_switch *ds);
63 void dsa_hwmon_unregister(struct dsa_switch *ds);
64 #else
65 static inline void dsa_hwmon_register(struct dsa_switch *ds) { }
66 static inline void dsa_hwmon_unregister(struct dsa_switch *ds) { }
67 #endif
68
69 /* slave.c */
---
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: 37536 bytes --]
next prev parent reply other threads:[~2017-01-03 22:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 18:15 [PATCH net-next 0/3] net: dsa: restore HWMON support in dsa2 Vivien Didelot
2017-01-03 18:15 ` [PATCH net-next 1/3] net: dsa: remove out label in dsa_switch_setup_one Vivien Didelot
2017-01-03 18:39 ` Andrew Lunn
2017-01-03 19:18 ` Vivien Didelot
2017-01-03 18:15 ` [PATCH net-next 2/3] net: dsa: move HWMON support to its own file Vivien Didelot
2017-01-03 22:33 ` kbuild test robot [this message]
2017-01-03 18:15 ` [PATCH net-next 3/3] net: dsa: restore HWMON support in dsa2 Vivien Didelot
2017-01-03 18:33 ` [PATCH net-next 0/3] " Andrew Lunn
2017-01-03 19:24 ` Vivien Didelot
2017-01-03 19:29 ` Florian Fainelli
2017-01-03 19:41 ` Vivien Didelot
2017-01-03 20:09 ` Andrew Lunn
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=201701040627.EoWltAHU%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=cphealy@gmail.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kbuild-all@01.org \
--cc=kernel@savoirfairelinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
/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
all inboxes | Powered by JetHome®