Commit ec71f128 authored by Dave Airlie's avatar Dave Airlie

Merge tag 'drm-amdkfd-fixes-2016-01-28' of...

Merge tag 'drm-amdkfd-fixes-2016-01-28' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes

two static checker fixes.

* tag 'drm-amdkfd-fixes-2016-01-28' of git://people.freedesktop.org/~gabbayo/linux:
  drm/amdkfd: Remove unnecessary cast in kfree
  drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions()
parents 07c8fedd 642f0f2a
...@@ -154,7 +154,7 @@ static const struct kfd2kgd_calls kfd2kgd = { ...@@ -154,7 +154,7 @@ static const struct kfd2kgd_calls kfd2kgd = {
.get_fw_version = get_fw_version .get_fw_version = get_fw_version
}; };
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_7_get_functions() struct kfd2kgd_calls *amdgpu_amdkfd_gfx_7_get_functions(void)
{ {
return (struct kfd2kgd_calls *)&kfd2kgd; return (struct kfd2kgd_calls *)&kfd2kgd;
} }
......
...@@ -115,7 +115,7 @@ static const struct kfd2kgd_calls kfd2kgd = { ...@@ -115,7 +115,7 @@ static const struct kfd2kgd_calls kfd2kgd = {
.get_fw_version = get_fw_version .get_fw_version = get_fw_version
}; };
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_8_0_get_functions() struct kfd2kgd_calls *amdgpu_amdkfd_gfx_8_0_get_functions(void)
{ {
return (struct kfd2kgd_calls *)&kfd2kgd; return (struct kfd2kgd_calls *)&kfd2kgd;
} }
......
...@@ -194,7 +194,7 @@ static void kfd_process_wq_release(struct work_struct *work) ...@@ -194,7 +194,7 @@ static void kfd_process_wq_release(struct work_struct *work)
kfree(p); kfree(p);
kfree((void *)work); kfree(work);
} }
static void kfd_process_destroy_delayed(struct rcu_head *rcu) static void kfd_process_destroy_delayed(struct rcu_head *rcu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment