All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static
@ 2016-02-17 23:55 Emil Tantilov
  2016-02-18  0:09 ` John Fastabend
  2016-03-03 20:05 ` Bowers, AndrewX
  0 siblings, 2 replies; 3+ messages in thread
From: Emil Tantilov @ 2016-02-17 23:55 UTC (permalink / raw)
  To: intel-wired-lan

This function is only used in ixgbe_main.c
Resolves a "missing prototype" warning when building the driver with W=1

Reported-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
---
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 46b0ac5..e8e0818 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -8355,8 +8355,8 @@ err_out:
 	return -EINVAL;
 }
 
-int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
-		     struct tc_to_netdev *tc)
+static int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
+			    struct tc_to_netdev *tc)
 {
 	struct ixgbe_adapter *adapter = netdev_priv(dev);
 


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

* [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static
  2016-02-17 23:55 [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static Emil Tantilov
@ 2016-02-18  0:09 ` John Fastabend
  2016-03-03 20:05 ` Bowers, AndrewX
  1 sibling, 0 replies; 3+ messages in thread
From: John Fastabend @ 2016-02-18  0:09 UTC (permalink / raw)
  To: intel-wired-lan

On 16-02-17 03:55 PM, Emil Tantilov wrote:
> This function is only used in ixgbe_main.c
> Resolves a "missing prototype" warning when building the driver with W=1
> 
> Reported-by: Phil Schmitt <phillip.j.schmitt@intel.com>
> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
> ---

Acked-by: John Fastabend <john.r.fastabend@intel.com>

Yep missed this thanks.

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

* [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static
  2016-02-17 23:55 [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static Emil Tantilov
  2016-02-18  0:09 ` John Fastabend
@ 2016-03-03 20:05 ` Bowers, AndrewX
  1 sibling, 0 replies; 3+ messages in thread
From: Bowers, AndrewX @ 2016-03-03 20:05 UTC (permalink / raw)
  To: intel-wired-lan

> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Wednesday, February 17, 2016 3:55 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static
> 
> This function is only used in ixgbe_main.c Resolves a "missing prototype"
> warning when building the driver with W=1
> 
> Reported-by: Phil Schmitt <phillip.j.schmitt@intel.com>
> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
No "missing prototype" warning at compile time

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

end of thread, other threads:[~2016-03-03 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 23:55 [Intel-wired-lan] [PATCH] ixgbe: make __ixgbe_setup_tc static Emil Tantilov
2016-02-18  0:09 ` John Fastabend
2016-03-03 20:05 ` Bowers, AndrewX

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.