Re: [PATCH rdma-next v1] RDMA/core: Initialize lock when allocate a rdma_hw_stats structure

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

 



On Tue, Oct 26, 2021 at 11:43:03AM +0300, Leon Romanovsky wrote:
> From: Mark Zhang <markzhang@xxxxxxxxxx>
> 
> 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



[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