kfree_s was deprecated in 2.4.0-test?

main
Rik Faith 2000-07-20 20:21:10 +00:00
parent b4722ec943
commit 6d1ce8fe77
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ void drm_free(void *pt, size_t size, int area)
int free_count; int free_count;
if (!pt) DRM_MEM_ERROR(area, "Attempt to free NULL pointer\n"); if (!pt) DRM_MEM_ERROR(area, "Attempt to free NULL pointer\n");
else kfree_s(pt, size); else kfree(pt, size);
spin_lock(&drm_mem_lock); spin_lock(&drm_mem_lock);
drm_mem_stats[area].bytes_freed += size; drm_mem_stats[area].bytes_freed += size;
free_count = ++drm_mem_stats[area].free_count; free_count = ++drm_mem_stats[area].free_count;