1. 11 2月, 2016 11 次提交
  2. 29 1月, 2016 1 次提交
  3. 14 1月, 2016 2 次提交
  4. 19 12月, 2015 3 次提交
  5. 17 12月, 2015 1 次提交
  6. 05 12月, 2015 1 次提交
  7. 21 11月, 2015 1 次提交
  8. 19 11月, 2015 1 次提交
  9. 17 11月, 2015 5 次提交
  10. 05 11月, 2015 1 次提交
  11. 21 10月, 2015 2 次提交
  12. 15 10月, 2015 2 次提交
  13. 07 10月, 2015 1 次提交
    • A
      drm/amdgpu: fix 32-bit compiler warning · 028423b0
      Arnd Bergmann 提交于
      The new amdgpu driver passes a user space pointer in a 64-bit structure
      member, which is the correct way to do it, but it attempts to
      directly cast it to a __user pointer in the kernel, which causes
      a warning in three places:
      
      drm/amd/amdgpu/amdgpu_cs.c: In function 'amdgpu_cs_parser_init':
      drm/amd/amdgpu/amdgpu_cs.c:180:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        chunk_array_user = (uint64_t __user *)(cs->in.chunks);
      
      This changes all three to add an intermediate cast to 'unsigned long'
      as other drivers do. This avoids the warning and works correctly on
      both 32-bit and 64-bit architectures.
      
      Fixes: e60b344f ("drm/amdgpu: optimize amdgpu_parser_init")
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      028423b0
  14. 30 9月, 2015 1 次提交
  15. 24 9月, 2015 6 次提交
  16. 04 9月, 2015 1 次提交