[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aNxocwzwJK6MCLII@liuwe-devbox-ubuntu-v2.lamzopl0uupeniq2etz1fddiyg.xx.internal.cloudapp.net>
Date: Tue, 30 Sep 2025 23:32:03 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Alok Tiwari <alok.a.tiwari@...cle.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] drivers: hv: vmbus: Fix sysfs output format for ring
buffer index
On Sat, Sep 13, 2025 at 12:24:42PM -0700, Alok Tiwari wrote:
> The sysfs attributes out_read_index and out_write_index in
> vmbus_drv.c currently use %d to print outbound.current_read_index
> and outbound.current_write_index.
>
> These fields are u32 values, so printing them with %d (signed) is
> not logically correct. Update the format specifier to %u to
> correctly match their type.
>
> No functional change, only fixes the sysfs output format.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@...cle.com>
Applied this and patch 3. The second patch is dropped in favor of the v2
you sent out later.
Wei
Powered by blists - more mailing lists