[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220128145147.GB1792367@nvidia.com>
Date: Fri, 28 Jan 2022 10:51:47 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v2] IB/mthca: Remove useless DMA-32 fallback configuration
On Sat, Jan 15, 2022 at 08:45:05AM +0100, Christophe JAILLET wrote:
> As stated in [1], dma_set_mask() with a 64-bit mask never fails if
> dev->dma_mask is non-NULL.
> So, if it fails, the 32 bits case will also fail for the same reason.
>
> Simplify code and remove some dead code accordingly.
>
> [1]: https://lore.kernel.org/linux-kernel/YL3vSPK5DXTNvgdx@infradead.org/#t
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> v2: Update link to use lore instead of lklm
> ---
> drivers/infiniband/hw/mthca/mthca_main.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists