From: Dinh Nguyen <dinguyen@kernel.org>
To: Keith Busch <kbusch@kernel.org>, Keith Busch <kbusch@meta.com>
Cc: schuster.simon@siemens-energy.com, linux-kernel@vger.kernel.org,
linux-block@vger.kernel.org, lftan@altera.com,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] nios2: fix __wsum type degradation in csum_fold()
Date: Tue, 13 Oct 2026 18:45:23 -0500 [thread overview]
Message-ID: <e68aba76-dc2e-4381-b0f4-846756611ffa@kernel.org> (raw)
In-Reply-To: <as5I8gmaWXr5OUgb@kbusch-mbp>
On 10/13/26 10:06, Keith Busch wrote:
> On Tue, Sep 22, 2026 at 08:34:16AM -0700, Keith Busch wrote:
>> From: Keith Busch <kbusch@kernel.org>
>>
>> csum_fold() shifts a bitwise __wsum type, which sparse reports as
>> "restricted __wsum degrades to integer". Sparse only checks the body of
>> a static inline once something instantiates it, so this went unnoticed
>> until a recent block layer change added the first csum_fold() caller to
>> a file built on this architecture.
>>
>> Force cast to a __u32 for the shift, as the other architectures do.
>
> Ping on this one?
Applied!
Sorry for the delay.
THanks,
Dinh
prev parent reply other threads:[~2026-10-13 23:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-22 15:34 Keith Busch
2026-10-13 15:06 ` Keith Busch
2026-10-13 23:45 ` Dinh Nguyen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e68aba76-dc2e-4381-b0f4-846756611ffa@kernel.org \
--to=dinguyen@kernel.org \
--cc=kbusch@kernel.org \
--cc=kbusch@meta.com \
--cc=lftan@altera.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=schuster.simon@siemens-energy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®