[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6bc6fe97-b9e6-03ca-91e9-e61fcd51f3b9@kernel.org>
Date: Fri, 5 Sep 2025 16:14:43 -0600 (MDT)
From: Paul Walmsley <pjw@...nel.org>
To: Alexandre Ghiti <alexghiti@...osinc.com>
cc: kernel test robot <lkp@...el.com>, Al Viro <viro@...iv.linux.org.uk>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>, Cyril Bur <cyrilbur@...storrent.com>,
Jisheng Zhang <jszhang@...nel.org>, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH 1/2] riscv: Fix sparse warning in __get_user_error()
On Wed, 3 Sep 2025, Alexandre Ghiti wrote:
> We used to assign 0 to x without an appropriate cast which results in
> sparse complaining when x is a pointer:
>
> >> block/ioctl.c:72:39: sparse: sparse: Using plain integer as NULL pointer
>
> So fix this by casting 0 to the correct type of x.
Thanks, queued for v6.17-rc fixes.
- Paul
Powered by blists - more mailing lists