evregion.c (199337) | evregion.c (200553) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: evregion - ACPI AddressSpace (OpRegion) handler dispatch 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 831 unchanged lines hidden (view full) --- 840 841 if (!HandlerObj) 842 { 843 return (AE_OK); 844 } 845 846 /* Convert and validate the device handle */ 847 | 1/****************************************************************************** 2 * 3 * Module Name: evregion - ACPI AddressSpace (OpRegion) handler dispatch 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 831 unchanged lines hidden (view full) --- 840 841 if (!HandlerObj) 842 { 843 return (AE_OK); 844 } 845 846 /* Convert and validate the device handle */ 847 |
848 Node = AcpiNsMapHandleToNode (ObjHandle); | 848 Node = AcpiNsValidateHandle (ObjHandle); |
849 if (!Node) 850 { 851 return (AE_BAD_PARAMETER); 852 } 853 854 /* 855 * We only care about regions and objects that are allowed to have 856 * address space handlers --- 381 unchanged lines hidden (view full) --- 1238 ACPI_ADR_SPACE_TYPE SpaceId; 1239 ACPI_STATUS Status; 1240 1241 1242 SpaceId = *ACPI_CAST_PTR (ACPI_ADR_SPACE_TYPE, Context); 1243 1244 /* Convert and validate the device handle */ 1245 | 849 if (!Node) 850 { 851 return (AE_BAD_PARAMETER); 852 } 853 854 /* 855 * We only care about regions and objects that are allowed to have 856 * address space handlers --- 381 unchanged lines hidden (view full) --- 1238 ACPI_ADR_SPACE_TYPE SpaceId; 1239 ACPI_STATUS Status; 1240 1241 1242 SpaceId = *ACPI_CAST_PTR (ACPI_ADR_SPACE_TYPE, Context); 1243 1244 /* Convert and validate the device handle */ 1245 |
1246 Node = AcpiNsMapHandleToNode (ObjHandle); | 1246 Node = AcpiNsValidateHandle (ObjHandle); |
1247 if (!Node) 1248 { 1249 return (AE_BAD_PARAMETER); 1250 } 1251 1252 /* 1253 * We only care about regions.and objects that are allowed to have address 1254 * space handlers --- 30 unchanged lines hidden --- | 1247 if (!Node) 1248 { 1249 return (AE_BAD_PARAMETER); 1250 } 1251 1252 /* 1253 * We only care about regions.and objects that are allowed to have address 1254 * space handlers --- 30 unchanged lines hidden --- |