1. 05 6月, 2021 5 次提交
  2. 02 6月, 2021 1 次提交
    • Y
      igb: Fix -Wunused-const-variable warning · 0a206f9d
      YueHaibing 提交于
      If CONFIG_IGB_HWMON is n, gcc warns:
      
      drivers/net/ethernet/intel/igb/e1000_82575.c:2765:17:
       warning: ‘e1000_emc_therm_limit’ defined but not used [-Wunused-const-variable=]
       static const u8 e1000_emc_therm_limit[4] = {
                       ^~~~~~~~~~~~~~~~~~~~~
      drivers/net/ethernet/intel/igb/e1000_82575.c:2759:17:
       warning: ‘e1000_emc_temp_data’ defined but not used [-Wunused-const-variable=]
       static const u8 e1000_emc_temp_data[4] = {
                       ^~~~~~~~~~~~~~~~~~~
      
      Move it into #ifdef block to fix this.
      Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0a206f9d
  3. 29 5月, 2021 4 次提交
  4. 28 5月, 2021 1 次提交
  5. 27 5月, 2021 12 次提交
  6. 21 5月, 2021 10 次提交
  7. 20 5月, 2021 5 次提交
  8. 15 5月, 2021 1 次提交
  9. 08 5月, 2021 1 次提交