4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know.
------------------ From: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> commit b1a4144a695ff4a6834a2680600f36f991fa4926 upstream. Mimi reported that afb5abc reverts the fix in 398a1e7. This patch reverts it back. Fixes: afb5abc262e9 ("tpm: two-phase chip management functions") Reported-by: Mimi Zohar <zo...@linux.vnet.ibm.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> Acked-by: Peter Huewe <peterhu...@gmx.de> Signed-off-by: Kamal Mostafa <ka...@canonical.com> --- drivers/char/tpm/tpm-chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c index 1082d4b..0f8623d 100644 --- a/drivers/char/tpm/tpm-chip.c +++ b/drivers/char/tpm/tpm-chip.c @@ -231,7 +231,7 @@ int tpm_chip_register(struct tpm_chip *chip) /* Make the chip available. */ spin_lock(&driver_lock); - list_add_rcu(&chip->list, &tpm_chip_list); + list_add_tail_rcu(&chip->list, &tpm_chip_list); spin_unlock(&driver_lock); chip->flags |= TPM_CHIP_FLAG_REGISTERED; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html