[Intel-wired-lan] [net-next 06/25] fm10k: fix unused warnings

Singh, Krishneil K krishneil.k.singh at intel.com
Tue Apr 14 19:45:15 UTC 2015



Thank You
Krishneil Singh

-----Original Message-----
From: Kirsher, Jeffrey T 
Sent: Friday, April 3, 2015 2:02 PM
To: intel-wired-lan at lists.osuosl.org
Cc: Keller, Jacob E; Singh, Krishneil K
Subject: Re: [net-next 06/25] fm10k: fix unused warnings

On Fri, 2015-04-03 at 13:26 -0700, Jeff Kirsher wrote:
> The were several functions which had parameters which were never or 
> sometimes used in functions.  To resolve possible compiler warnings, 
> use __always_unused or __maybe_unused kernel macros to resolve.
> 
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Acked-by: Matthew Vick <matthew.vick at intel.com>
> ---
>  drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c   |  6 +++---
>  drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c |  8 +++++---  
> drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 12 ++++++------
>  drivers/net/ethernet/intel/fm10k/fm10k_iov.c     |  6 +++---
>  drivers/net/ethernet/intel/fm10k/fm10k_main.c    | 18
> ++++++------------
>  drivers/net/ethernet/intel/fm10k/fm10k_pci.c     | 17
> +++++++++--------
>  drivers/net/ethernet/intel/fm10k/fm10k_ptp.c     |  5 +++--
>  7 files changed, 35 insertions(+), 37 deletions(-)

I have applied to my queue.
--
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
dev-queue

Tested-by: Krishneil Singh <krishneil.k.singh at intel.com>




More information about the Intel-wired-lan mailing list