[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7f451eb2-6e62-9e49-c47a-e0de59cc7ebf@amd.com>
Date: Mon, 31 Jul 2023 10:04:14 -0500
From: Carlos Bilbao <carlos.bilbao@....com>
To: Tejun Heo <tj@...nel.org>
Cc: josef@...icpanda.com, axboe@...nel.dk, cgroups@...r.kernel.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
amd <amd@...alhost.localdomain>
Subject: Re: [PATCH] blk-iocost: fix seq_printf compile type mismatch error
On 7/21/23 20:14, Tejun Heo wrote:
> On Fri, Jul 21, 2023 at 05:32:04PM -0500, Carlos Bilbao wrote:
>> On 7/17/23 9:18 AM, Carlos Bilbao wrote:
>>> From: amd <amd@...alhost.localdomain>
>>>
>>> Fix two type mismatch errors encountered while compiling blk-iocost.c with
>>> GCC version 13.1.1 that involved constant operator WEIGHT_ONE. Cast the
>>> result of the division operation to (unsigned int) to match the expected
>>> format specifier %u in two seq_printf invocations.
>>>
>>> Reviewed-by: Carlos Bilbao <carlos.bilbao@....com>
>> This should have been:
>>
>> Signed-off-by: Carlos Bilbao <carlos.bilbao@....com>
>
> Carlos, can you please retest the current linus#master?
>
Yes, that version compiled successfully without changes in my compiler. The
kernel that gave me said error was a custom v6.1.0-rc4 (Obtained from:
https://github.com/coconut-svsm/linux/tree/svsm-host)
> Thanks.
>
Thanks,
Carlos
Powered by blists - more mailing lists