Messages in this thread | | | Date | Wed, 27 Oct 2021 13:40:16 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH rdma-next v1] RDMA/core: Initialize lock when allocate a rdma_hw_stats structure |
| |
On Tue, Oct 26, 2021 at 11:43:03AM +0300, Leon Romanovsky wrote: > From: Mark Zhang <markzhang@nvidia.com> > > Initialize the rdma_hw_stats "lock" field when do allocation, to fix the > warning below. Then we don't need to initialize it in sysfs, remove it.
> drivers/infiniband/core/sysfs.c | 2 -- > drivers/infiniband/core/verbs.c | 1 + > 2 files changed, 1 insertion(+), 2 deletions(-)
Applied to for-next
Jason
| |