On Tue, Mar 26, 2019 at 5:13 AM Jarkko Sakkinen <[email protected]> wrote: > > Allow trusted.ko to initialize w/o a TPM. This commit adds checks to the > key type callbacks and exported functions to fail when a TPM is not > available. > > Cc: James Morris <[email protected]> > Reported-by: Dan Williams <[email protected]> > Tested-by: Dan Williams <[email protected]> > Fixes: 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure...") > Signed-off-by: Jarkko Sakkinen <[email protected]> > --- > v3: > - remove unnecessary check for chip in init_trusted()
v3 also tests ok here.

