Re: [PATCH v16 03/16] cgroup/misc: Export APIs for SGX driver

From
Huang, Kai <hidden>
Date
2024-08-27 10:25:20
Also in
lkml
Reply to
Haitao Huang, 2024-08-21
On Tue, 2024-08-20 at 18:53 -0700, Haitao Huang wrote:
-static struct misc_cg *parent_misc(struct misc_cg *cgroup)
+struct misc_cg *misc_cg_root(void)
 {
-	return cgroup ? css_misc(cgroup->css.parent) : NULL;
+	return &root_cg;
 }
+EXPORT_SYMBOL_GPL(misc_cg_root);
 
This doesn't need to be exported.  SGX driver cannot be a module.

I tested building the this series with this export removed and the kernel
could be built successfully.
Thread (42 messages) 42 messages, 4 authors, last reply 2024-08-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help