Re: [PATCH v2 6/7] tpm: expose spaces via a device link /dev/tpms<n>

From: Jason Gunthorpe
Date: Mon Feb 27 2017 - 12:33:30 EST


On Sun, Feb 26, 2017 at 01:44:40PM +0200, Jarkko Sakkinen wrote:

> There's now tabrm-v3 branch. I had to tweak error handling in your
> device adding patch because of b4e9d7561a70. I hope I didn't break
> anything.

Just looked, the flow seemed like it works to me. Just confusing that
tpm_add_char_device isn't undone by tpm_del_char_device

Jason