lkml.org 
[lkml]   [2009]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 24/43] drivers/net/ixgbe: fix sparse warning: Should it be static?
    Date
    Impact: Make symbol static.

    Fix this sparse warning:
    drivers/net/ixgbe/ixgbe_82598.c:59:5: warning: symbol 'ixgbe_get_pcie_msix_count_82598' was not declared. Should it be static?

    Signed-off-by: Hannes Eder <hannes@hanneseder.net>
    ---
    drivers/net/ixgbe/ixgbe_82598.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c
    index 525bd87..51dba1c 100644
    --- a/drivers/net/ixgbe/ixgbe_82598.c
    +++ b/drivers/net/ixgbe/ixgbe_82598.c
    @@ -56,7 +56,7 @@ static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
    * Read PCIe configuration space, and get the MSI-X vector count from
    * the capabilities table.
    **/
    -u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw)
    +static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw)
    {
    struct ixgbe_adapter *adapter = hw->back;
    u16 msix_count;


    \
     
     \ /
      Last update: 2009-02-14 22:41    [W:4.095 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site