1. 21 9月, 2017 3 次提交
  2. 25 8月, 2017 1 次提交
  3. 19 8月, 2017 1 次提交
  4. 17 8月, 2017 1 次提交
  5. 14 8月, 2017 1 次提交
  6. 01 8月, 2017 1 次提交
  7. 26 7月, 2017 1 次提交
    • A
      virtio-net: mark PM functions as __maybe_unused · 67a75194
      Arnd Bergmann 提交于
      After removing the reset function, the freeze and restore functions
      are now unused when CONFIG_PM_SLEEP is disabled:
      
      drivers/net/virtio_net.c:1881:12: error: 'virtnet_restore_up' defined but not used [-Werror=unused-function]
       static int virtnet_restore_up(struct virtio_device *vdev)
      drivers/net/virtio_net.c:1859:13: error: 'virtnet_freeze_down' defined but not used [-Werror=unused-function]
       static void virtnet_freeze_down(struct virtio_device *vdev)
      
      A more robust way to do this is to remove the #ifdef around the callers
      and instead mark them as __maybe_unused. The compiler will now just
      silently drop the unused code.
      
      Fixes: 4941d472 ("virtio-net: do not reset during XDP set")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJason Wang <jasowang@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      67a75194
  8. 25 7月, 2017 5 次提交
  9. 18 7月, 2017 1 次提交
  10. 08 7月, 2017 1 次提交
  11. 30 6月, 2017 1 次提交
  12. 16 6月, 2017 2 次提交
  13. 05 6月, 2017 1 次提交
  14. 03 6月, 2017 1 次提交
  15. 25 5月, 2017 1 次提交
  16. 09 5月, 2017 6 次提交
  17. 03 5月, 2017 2 次提交
  18. 01 5月, 2017 2 次提交
  19. 27 4月, 2017 1 次提交
  20. 25 4月, 2017 5 次提交
  21. 07 4月, 2017 2 次提交