Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [RFC PATCH linux-next] net: __ixgbe_setup_tc() can be static
  2016-03-18 15:44 [Intel-wired-lan] [linux-next:master 4836/12950] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8203:5: sparse: symbol '__ixgbe_setup_tc' was not declared. Should it be static? kbuild test robot
@ 2016-03-18 15:44 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-03-18 15:44 UTC (permalink / raw)
  To: intel-wired-lan


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 ixgbe_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 1ba714e..3339249 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -8200,7 +8200,7 @@ int ixgbe_setup_tc(struct net_device *dev, u8 tc)
 	return 0;
 }
 
-int __ixgbe_setup_tc(struct net_device *dev, u32 handle, u8 tc)
+static int __ixgbe_setup_tc(struct net_device *dev, u32 handle, u8 tc)
 {
 	/* Only support egress tc setup for now */
 	if (handle != TC_H_ROOT)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Intel-wired-lan] [linux-next:master 4836/12950] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8203:5: sparse: symbol '__ixgbe_setup_tc' was not declared. Should it be static?
@ 2016-03-18 15:44 kbuild test robot
  2016-03-18 15:44 ` [Intel-wired-lan] [RFC PATCH linux-next] net: __ixgbe_setup_tc() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-03-18 15:44 UTC (permalink / raw)
  To: intel-wired-lan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   5e3497cca281616e7930b74a0076b7324dcc2057
commit: e4c6734eaab90695db0ea8456307790cb0c1ccb5 [4836/12950] net: rework ndo tc op to consume additional qdisc handle parameter
reproduce:
        # apt-get install sparse
        git checkout e4c6734eaab90695db0ea8456307790cb0c1ccb5
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:675:33: sparse: cast to restricted __le64
   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:675:33: sparse: cast to restricted __le64
   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:787:33: sparse: cast to restricted __le64
   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:787:33: sparse: cast to restricted __le64
   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:793:33: sparse: cast to restricted __le64
   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:793:33: sparse: cast to restricted __le64
>> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8203:5: sparse: symbol '__ixgbe_setup_tc' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-18 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 15:44 [Intel-wired-lan] [linux-next:master 4836/12950] drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:8203:5: sparse: symbol '__ixgbe_setup_tc' was not declared. Should it be static? kbuild test robot
2016-03-18 15:44 ` [Intel-wired-lan] [RFC PATCH linux-next] net: __ixgbe_setup_tc() can be static kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox