diff options
author | Dave Airlie <airlied@linux.ie> | 2004-07-15 13:03:55 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-07-15 13:03:55 +0000 |
commit | 8efddd01e8a2254b4ed00dff0d55827b6f2b35ce (patch) | |
tree | a52af2302e3b2c803c7f46bed2567d16d074ebd9 /shared/sis_ds.c | |
parent | bb5112b616080033ab9f09092098527f2aa09b70 (diff) |
sparse cleanups from kernel: Al Viro
Diffstat (limited to 'shared/sis_ds.c')
-rw-r--r-- | shared/sis_ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/sis_ds.c b/shared/sis_ds.c index 543ce71e..08391554 100644 --- a/shared/sis_ds.c +++ b/shared/sis_ds.c @@ -165,7 +165,7 @@ memHeap_t *mmInit(int ofs, PMemBlock blocks; if (size <= 0) - return 0; + return 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 - return 0; + return NULL; } /* Checks if a pointer 'b' is part of the heap 'heap' */ |