RE: [PATCH v2] RDMA/siw: fix 64/32bit pointer inconsistency

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

 



-----"Leon Romanovsky" <leon@xxxxxxxxxx> wrote: -----

>To: "Bernard Metzler" <bmt@xxxxxxxxxxxxxx>
>From: "Leon Romanovsky" <leon@xxxxxxxxxx>
>Date: 08/22/2019 03:09PM
>Cc: linux-rdma@xxxxxxxxxxxxxxx, jgg@xxxxxxxx, geert@xxxxxxxxxxxxxx
>Subject: [EXTERNAL] Re: [PATCH v2] RDMA/siw: fix 64/32bit pointer
>inconsistency
>
>On Tue, Aug 20, 2019 at 07:22:21PM +0200, Bernard Metzler wrote:
>> Fixes improper casting between addresses and unsigned types.
>> Changes siw_pbl_get_buffer() function to return appropriate
>> dma_addr_t, and not u64.
>>
>> In debug prints, all potentially kernel private variables
>> are printed as void * to allow keeping that information
>> secret.
>
>It is done by using %pK and not by strange casting.

Thanks Leon, will resubmit. I will also take the chance to drop
some of it completely.

Bernard




[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