On Thu, 22 Jan 2015, Peter Huewe wrote: > This fixes a build failure if CONFIG_PNP is set but CONFIG_ACPI is not: > drivers/char/tpm/tpm_tis.c: In function ?tpm_tis_pnp_init?: > drivers/char/tpm/tpm_tis.c:912:45: error: invalid type argument of > ?->? (have ?int?) > acpi_dev_handle = pnp_acpi_device(pnp_dev)->handle; > > If CONFIG_PNPACPI is not set pnp_acpi_device is defined as 0 and thus > accesing the handle is not possible. > > Fixes: 0dc553652102 ("tpm: fix raciness of PPI interface lookup") > Reported-by: Jim Davis <jim.epost@xxxxxxxxx> > Signed-off-by: Peter Huewe <peterhuewe@xxxxxx> Applied. -- James Morris <jmorris@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html