Re: [PATCH v2 01/15] staging: vc04_services: Add new vc-sm-cma driver

From: Stefan Wahren
Date: Wed Nov 15 2023 - 15:49:26 EST



+/* ---- Private Variables ----------------------------------------------- */
+
+static struct sm_state_t *sm_state;
+static int sm_inited;

In case the driver cannot be loaded again, a comment about this should
be here.

Better, could we remove global variables ?

Yes


[snip]