1. 16 8月, 2016 2 次提交
  2. 14 8月, 2016 2 次提交
  3. 13 7月, 2016 1 次提交
  4. 07 7月, 2016 1 次提交
  5. 05 7月, 2016 1 次提交
  6. 03 7月, 2016 1 次提交
  7. 30 6月, 2016 4 次提交
  8. 11 6月, 2016 11 次提交
  9. 04 6月, 2016 4 次提交
  10. 13 4月, 2016 8 次提交
  11. 24 3月, 2016 1 次提交
  12. 19 3月, 2016 2 次提交
  13. 15 3月, 2016 2 次提交
    • A
      net: mediatek: check device_reset return code · 916848ca
      Arnd Bergmann 提交于
      The device_reset() function may fail, so we have to check
      its return value, e.g. to make deferred probing work correctly.
      gcc warns about it because of the warn_unused_result attribute:
      
      drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_probe':
      drivers/net/ethernet/mediatek/mtk_eth_soc.c:1679:2: error: ignoring return value of 'device_reset', declared with attribute warn_unused_result [-Werror=unused-result]
      
      This adds the trivial error check to propagate the return value
      to the generic platform device probe code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      916848ca
    • A
      net: mediatek: remove incorrect dma_mask assignment · a25cdc0d
      Arnd Bergmann 提交于
      Device drivers should not mess with the DMA mask directly,
      but instead call dma_set_mask() etc if needed.
      
      In case of the mtk_eth_soc driver, the mask already gets set
      correctly when the device is created, and setting it again
      is against the documented API.
      
      This removes the incorrect setting.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a25cdc0d