[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201503020006.54651.PeterHuewe@gmx.de>
Date: Mon, 2 Mar 2015 00:06:52 +0100
From: Peter Hüwe <PeterHuewe@....de>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: Ashley Lai <ashley@...leylai.com>,
Marcel Selhorst <tpmdd@...horst.net>,
tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
christophe.ricard@...il.com, jason.gunthorpe@...idianresearch.com,
stefanb@...ux.vnet.ibm.com
Subject: Re: [PATCH] tpm: fix call order in tpm-chip.c
Am Sonntag, 1. März 2015, 22:55:47 schrieb Jarkko Sakkinen:
> - tpm_dev_add_device(): cdev_add() must be done before uevent is
> propagated in order to avoid races.
> - tpm_chip_register(): tpm_dev_add_device() must be done as the
> last step before exposing device to the user space in order to
> avoid races.
>
> In addition clarified description in tpm_chip_register().
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Looks good to me.
Staged it and I'll send out the pull request in the next few days.
(have to catch up mails from traveling)
Thanks,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists