asluuid.c (98e0ffaefb0f241cda3a72395d3be04192ae0d47) | asluuid.c (5ef5072350492e3ee9aff4303789fc75972b5afe) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: asluuid-- compiler UUID support 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2015, Intel Corp. --- 55 unchanged lines hidden (view full) --- 64 65ACPI_STATUS 66AuValidateUuid ( 67 char *InString) 68{ 69 UINT32 i; 70 71 | 1/****************************************************************************** 2 * 3 * Module Name: asluuid-- compiler UUID support 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2015, Intel Corp. --- 55 unchanged lines hidden (view full) --- 64 65ACPI_STATUS 66AuValidateUuid ( 67 char *InString) 68{ 69 UINT32 i; 70 71 |
72 if (!InString || (ACPI_STRLEN (InString) != UUID_STRING_LENGTH)) | 72 if (!InString || (strlen (InString) != UUID_STRING_LENGTH)) |
73 { 74 return (AE_BAD_PARAMETER); 75 } 76 77 /* Check all 36 characters for correct format */ 78 79 for (i = 0; i < UUID_STRING_LENGTH; i++) 80 { --- 74 unchanged lines hidden --- | 73 { 74 return (AE_BAD_PARAMETER); 75 } 76 77 /* Check all 36 characters for correct format */ 78 79 for (i = 0; i < UUID_STRING_LENGTH; i++) 80 { --- 74 unchanged lines hidden --- |