On Wed, Oct 09, 2019 at 08:52:44PM -0700, [email protected] wrote:
> Make reserved struct fields "private:" so that they don't need to
> be added to the kernel-doc notation. This removes 24 warnings.
> +++ linux-next-20191009/drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h
> @@ -129,21 +129,31 @@ struct opa_vesw_info {
> __be16 fabric_id;
> __be16 vesw_id;
>
> + /* private: */
> u8 rsvd0[6];
> + /* public: */
> __be16 def_port_mask;
This seems overly ugly, is there some other way to handle these
reserved fields? Maybe wire protocol structures shouldn't be kdoc?
Jason