[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3dd042b3-eb86-f0aa-5542-3f763f6830e0@huawei.com>
Date: Tue, 6 Apr 2021 14:39:02 +0800
From: luojiaxing <luojiaxing@...wei.com>
To: Bart Van Assche <bvanassche@....org>, <jinpu.wang@...ud.ionos.com>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>
Subject: Re: [PATCH v1 1/2] scsi: pm8001: clean up for white space
On 2021/4/3 0:01, Bart Van Assche wrote:
> On 4/2/21 2:08 AM, Luo Jiaxing wrote:
>> #define AAP1_MEMMAP(r, c) \
>> - (*(u32 *)((u8*)pm8001_ha->memoryMap.region[AAP1].virt_ptr + (r) * 32 \
>> + (*(u32 *)((u8 *)pm8001_ha->memoryMap.region[AAP1].virt_ptr + (r) * 32 \
>> + (c)))
> Since this macro is being modified, please convert it into an inline
> function such that the type of the arguments can be verified by the
> compiler.
Sure, but still keep the function name as AAP1_MEMMAP?
Thanks
Jiaxing
>
> Thanks,
>
> Bart.
>
> .
>
Powered by blists - more mailing lists