Re: [PATCH v3 01/13] coco/tsm: Introduce a core device for TEE Security Managers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2/6/25 23:18, Jason Gunthorpe wrote:
On Thu, May 15, 2025 at 10:47:20PM -0700, Dan Williams wrote:
+static struct class *tsm_class;
+static struct tsm_core_dev {
+	struct device dev;
+} *tsm_core;

This is gross, do we really need to have a global?

Sure we do not, such pointer happily lives in the CCP driver in my case.


--
Alexey





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux