[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200925124142.GA193344@nvidia.com>
Date: Fri, 25 Sep 2020 09:41:42 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Liu Shixin <liushixin2@...wei.com>
CC: Leon Romanovsky <leon@...nel.org>,
Doug Ledford <dledford@...hat.com>,
<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] RDMA/mlx5: fix type warning of sizeof in
__mlx5_ib_alloc_counters()
On Thu, Sep 17, 2020 at 04:13:54PM +0800, Liu Shixin wrote:
> sizeof() when applied to a pointer typed expression should gives the
> size of the pointed data, even if the data is a pointer.
>
> Signed-off-by: Liu Shixin <liushixin2@...wei.com>
> ---
> drivers/infiniband/hw/mlx5/counters.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied the original version to for-next
Thanks,
Jason
Powered by blists - more mailing lists