Re: [PATCH v2 3/3] RDMA: Report available cdevs through RDMA_NLDEV_CMD_GET_CHARDEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2019 at 12:19:04PM +0000, Leon Romanovsky wrote:
> > diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
> > index 9903db21a42c58..b27c02185dcc19 100644
> > +++ b/include/uapi/rdma/rdma_netlink.h
> > @@ -504,6 +504,7 @@ enum rdma_nldev_attr {
> >  	RDMA_NLDEV_ATTR_CHARDEV_NAME,		/* string */
> >  	RDMA_NLDEV_ATTR_CHARDEV_ABI,		/* u64 */
> >  	RDMA_NLDEV_ATTR_CHARDEV,		/* u64 */
> > +	RDMA_NLDEV_ATTR_UVERBS_DRIVER_ID,       /* u64 */
> 
> This should be inside nla_policy too.

It is an output, not an input. policy only checks inputs.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux