if (ACPI_FAILURE(status)) {
return (status);
}
+
elements++;
}
break;
return (status);
}
}
+
elements++;
}
break;
if (sub_package->package.count < expected_count) {
goto package_too_small;
}
+
if (sub_package->package.count <
package->ret_info.count1) {
expected_count = package->ret_info.count1;
goto package_too_small;
}
+
if (expected_count == 0) {
/*
* Either the num_entries element was originally zero or it was
if (ACPI_FAILURE(status)) {
return (status);
}
+
this_element++;
}
if (ACPI_FAILURE(status)) {
return (status);
}
+
this_element++;
}