From: Jani Nikula [mailto:[email protected]]
> You can use /* private: */ within the struct to indicate the following
> members should not be included in the generated documentation. It does
> however mean you can't then document the members either, or you'll get
> warnings.
>
> I'm generally not too happy about the mechanism, but it's there, perhaps
> not very well advertized.
I don't know how I failed to see that in the documentation. I read
doc-guide/kernel-doc.rst about three times this week.
@@ -154,6 +157,7 @@ struct radix_tree_iter {
unsigned long next_index;
unsigned long tags;
struct radix_tree_node *node;
+/* private: Do not use directly; call iter_shift() or __set_iter_shift() */
#ifdef CONFIG_RADIX_TREE_MULTIORDER
unsigned int shift;
#endif
That solves my problem. Thanks!