diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-12-19 05:51:01 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-12-19 05:51:01 +0000 |
commit | 86e94f4ac956e0aed23de30c7a458d215f54749a (patch) | |
tree | 7fcfdcc62c3319ffd669b18b080d40c9c5897210 /source/components/utilities/utcache.c | |
parent | de06c6b7e0851b337ee530b0ab8818f4216b06b2 (diff) |
Notes
Diffstat (limited to 'source/components/utilities/utcache.c')
-rw-r--r-- | source/components/utilities/utcache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/components/utilities/utcache.c b/source/components/utilities/utcache.c index 54c73e2a425a4..7d84f848fa87a 100644 --- a/source/components/utilities/utcache.c +++ b/source/components/utilities/utcache.c @@ -286,13 +286,13 @@ AcpiOsAcquireObject ( if (!Cache) { - return (NULL); + return_PTR (NULL); } Status = AcpiUtAcquireMutex (ACPI_MTX_CACHES); if (ACPI_FAILURE (Status)) { - return (NULL); + return_PTR (NULL); } ACPI_MEM_TRACKING (Cache->Requests++); @@ -315,7 +315,7 @@ AcpiOsAcquireObject ( Status = AcpiUtReleaseMutex (ACPI_MTX_CACHES); if (ACPI_FAILURE (Status)) { - return (NULL); + return_PTR (NULL); } /* Clear (zero) the previously used Object */ @@ -340,16 +340,16 @@ AcpiOsAcquireObject ( Status = AcpiUtReleaseMutex (ACPI_MTX_CACHES); if (ACPI_FAILURE (Status)) { - return (NULL); + return_PTR (NULL); } Object = ACPI_ALLOCATE_ZEROED (Cache->ObjectSize); if (!Object) { - return (NULL); + return_PTR (NULL); } } - return (Object); + return_PTR (Object); } #endif /* ACPI_USE_LOCAL_CACHE */ |