[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <658e62e1-2337-32df-3641-03a4789f30a0@huawei.com>
Date: Thu, 9 Feb 2023 19:12:48 +0800
From: Weili Qian <qianweili@...wei.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <linux-kernel@...r.kernel.org>, <linux-crypto@...r.kernel.org>,
<wangzhou1@...ilicon.com>, <liulongfang@...wei.com>
Subject: Re: [PATCH 2/5] crypto: hisilicon/qm - change data type in min_t
On 2023/2/9 17:32, Herbert Xu wrote:
> On Fri, Feb 03, 2023 at 05:37:27PM +0800, Weili Qian wrote:
>> 'act_q_num = min_t(int, act_q_num, max_qp_num)', 'act_q_num'
>> and 'max_qp_num' are 'u32' type, change min_t() to use 'u32'
>> type instead of 'int'.
>
> If they are of the same type, why not just do min?
>
> Thanks,
>
Thanks for your reminder. I will fix it in next version.
Best regards,
Weili
Powered by blists - more mailing lists