1. 30 1月, 2018 1 次提交
  2. 25 1月, 2018 1 次提交
  3. 23 1月, 2018 3 次提交
  4. 20 1月, 2018 1 次提交
  5. 19 1月, 2018 2 次提交
  6. 17 1月, 2018 4 次提交
  7. 11 1月, 2018 13 次提交
  8. 10 1月, 2018 1 次提交
  9. 09 1月, 2018 1 次提交
    • A
      drm/amdgpu: use %pap format string for phys_addr_t · fb8baefc
      Arnd Bergmann 提交于
      The newly added get_local_mem_info() function prints a phys_addr_t
      using 0x%llx, which is wrong on most 32-bit systems, as shown by
      this warning:
      
      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c: In function 'get_local_mem_info':
      include/linux/kern_levels.h:5:18: error: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'resource_size_t {aka unsigned int}' [-Werror=format=]
      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:297:31: note: format string is defined here
        pr_debug("Address base: 0x%llx limit 0x%llx public 0x%llx private 0x%llx\n",
      
      Passing the address by reference to the special %pap format string will
      produce the correct output and avoid the warning.
      
      Fixes: 30f1c042 ("drm/amdgpu: Implement get_local_mem_info")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      fb8baefc
  10. 03 1月, 2018 3 次提交
  11. 31 12月, 2017 1 次提交
  12. 28 12月, 2017 7 次提交
  13. 21 12月, 2017 2 次提交