RE: [PATCH 3/4] ACPI: Check for any matching CID when walking namespace.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Moore, Robert
Date: Tuesday, February 12, 2008 - 4:38 pm

Ok, I've rolled this in:

			/* Walk the CID list */

			found = FALSE;
			for (i = 0; i < cid->count; i++) {
				if (ACPI_STRNCMP (cid->id[i].value,
info->hid,
						sizeof (struct
acpi_compatible_id)) == 0) {

					/* Found a matching CID */

					found = TRUE;
					break;
				}
			}

			ACPI_FREE (cid);
			if (!found) {
				return (AE_OK);
			}
		}
	}

	/* We have a valid device, invoke the user function */

	status = info->user_function (obj_handle, nesting_level,
info->context,
			 return_value);
	return (status);
}


Thanks,
Bob


linux-acpi@vger.kernel.org
)
code
code
obj_handle,
obj_handle,
info->hid,
acpi_compatible_id)) !=
acpi_compatible_id)) ==
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] ACPI fixes for PCIe AER, Andrew Patterson, (Tue Jan 22, 5:18 pm)
[PATCH 3/4] ACPI: Check for any matching CID when walking ..., Andrew Patterson, (Tue Jan 22, 5:18 pm)
[PATCH 4/4] PCI: Run ACPI _OSC method on root bridges only, Andrew Patterson, (Tue Jan 22, 5:18 pm)
Re: [PATCH 3/4] ACPI: Check for any matching CID when walk ..., Andrew Patterson, (Wed Jan 23, 12:35 pm)
Re: [PATCH 3/4] ACPI: Check for any matching CID when walk ..., Andrew Patterson, (Wed Jan 23, 12:48 pm)
RE: [PATCH 3/4] ACPI: Check for any matching CID when walk ..., Moore, Robert, (Tue Feb 12, 4:38 pm)