> +enum ib_mr_create_flags {
> +             IB_MR_SIGNATURE_EN = 1,
> +};
> +
> +/**
> + * ib_mr_init_attr - Memory region init attributes passed to routine
> + *   ib_create_mr.
> + * @max_reg_descriptors: max number of registration units that
> + *   may be used with UMR work requests.
> + * @flags: MR creation flags bit mask.
> + */
> +struct ib_mr_init_attr {
> +     int                     max_reg_descriptors;
> +     enum ib_mr_create_flags flags;

Assuming that flags will be a bitwise OR of values, they should be an int, not 
an enum.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to