[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLWNHuTGk0fy8pjE@slm.duckdns.org>
Date: Mon, 17 Jul 2023 08:49:02 -1000
From: Tejun Heo <tj@...nel.org>
To: Carlos Bilbao <carlos.bilbao@....com>
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 Mon, Jul 17, 2023 at 09:18:52AM -0500, 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.
Can you detail the warnings? Was that on 32bit compiles?
Thanks.
--
tejun
Powered by blists - more mailing lists