projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4722ec
)
kfree_s was deprecated in 2.4.0-test?
author
Rik Faith
<faith@alephnull.com>
Thu, 20 Jul 2000 20:21:10 +0000
(20:21 +0000)
committer
Rik Faith
<faith@alephnull.com>
Thu, 20 Jul 2000 20:21:10 +0000
(20:21 +0000)
linux/memory.c
patch
|
blob
|
history
diff --git
a/linux/memory.c
b/linux/memory.c
index
0e92401
..
4d623ef
100644
(file)
--- a/
linux/memory.c
+++ b/
linux/memory.c
@@
-197,7
+197,7
@@
void drm_free(void *pt, size_t size, int area)
int free_count;
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);
drm_mem_stats[area].bytes_freed += size;
free_count = ++drm_mem_stats[area].free_count;