[PATCH] tpm: Fix the driver cleanup code

Jason Gunthorpe jgg at ziepe.ca
Thu Dec 21 22:30:49 UTC 2017

On Thu, Dec 21, 2017 at 09:54:26PM +0000, Shaikh, Azhar wrote:

> Yes, I checked this part. What I was referring to is any other
> callback function similar to clk_enable if gets added in future and
> then needs to Access ops even after it is set to NULL...

You can't call callback functions after tpm_unregister_chip, it isn't

This is a special case where we know the specific implementation of
this specific callback is OK.

> But yes I get your point now.
> So do you mean something like this?


To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the Linux-security-module-archive mailing list