git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
char
/
drm
/
sis_ds.c
diff --git
a/drivers/char/drm/sis_ds.c
b/drivers/char/drm/sis_ds.c
index
543ce71
..
0839155
100644
(file)
--- a/
drivers/char/drm/sis_ds.c
+++ b/
drivers/char/drm/sis_ds.c
@@
-165,7
+165,7
@@
memHeap_t *mmInit(int ofs,
PMemBlock blocks;
if (size <= 0)
PMemBlock blocks;
if (size <= 0)
- return
0
;
+ return
NULL
;
blocks = (TMemBlock *)DRM(calloc)(1, sizeof(TMemBlock), DRM_MEM_DRIVER);
if (blocks != NULL) {
blocks = (TMemBlock *)DRM(calloc)(1, sizeof(TMemBlock), DRM_MEM_DRIVER);
if (blocks != NULL) {
@@
-174,7
+174,7
@@
memHeap_t *mmInit(int ofs,
blocks->free = 1;
return (memHeap_t *)blocks;
} else
blocks->free = 1;
return (memHeap_t *)blocks;
} else
- return
0
;
+ return
NULL
;
}
/* Checks if a pointer 'b' is part of the heap 'heap' */
}
/* Checks if a pointer 'b' is part of the heap 'heap' */