1. 05 Oct, 2016 1 commit
  2. 03 Oct, 2016 17 commits
  3. 01 Oct, 2016 2 commits
  4. 30 Sep, 2016 6 commits
  5. 29 Sep, 2016 2 commits
    • Niklas Söderlund's avatar
      dma-mapping: fix m32r build warning · 3757dc48
      Niklas Söderlund authored
      kbuild test robot reports:
      
         In file included from include/linux/skbuff.h:34:0,
                          from include/linux/icmpv6.h:4,
                          from include/linux/ipv6.h:75,
                          from include/net/ipv6.h:16,
                          from include/linux/sunrpc/clnt.h:27,
                          from include/linux/nfs_fs.h:30,
                          from fs/lockd/clntlock.c:13:
         include/linux/dma-mapping.h: In function 'dma_map_resource':
      >> include/linux/dma-mapping.h:274:16: warning: unused variable 'pfn' [-Wunused-variable]
           unsigned long pfn = __phys_to_pfn(phys_addr);
                         ^~~
      
      The pfn value is only used once in the call to pfn_valid(), remove the
      variable and calculate the pfn when it's needed. Note that the kbuild
      report is old and PHYS_PFN() is now used instead of __phys_to_pfn() to
      calculate the pfn.
      Signed-off-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      3757dc48
    • Niklas Söderlund's avatar
      dma-mapping: fix ia64 build, use PHYS_PFN · 2895e1f8
      Niklas Söderlund authored
      kbuild test robot reports:
      
         In file included from include/linux/skbuff.h:34:0,
                          from include/linux/tcp.h:21,
                          from drivers/net/ethernet/amd/xgbe/xgbe-drv.c:119:
         include/linux/dma-mapping.h: In function 'dma_map_resource':
      >> include/linux/dma-mapping.h:274:22: error: implicit declaration of function '__phys_to_pfn' [-Werror=implicit-function-declaration]
           unsigned long pfn = __phys_to_pfn(phys_addr);
                               ^~~~~~~~~~~~~
      
      ia64 does not provide __phys_to_pfn(), use the PHYS_PFN() alias.
      Signed-off-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      2895e1f8
  6. 28 Sep, 2016 10 commits
  7. 27 Sep, 2016 1 commit
  8. 26 Sep, 2016 1 commit