[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167295961617.27641.4395161455545202996.git-patchwork-notify@kernel.org>
Date: Thu, 05 Jan 2023 23:00:16 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Ben Dooks <ben-linux@...ff.org>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, linux-kernel@...r.kernel.org,
aou@...s.berkeley.edu
Subject: Re: [PATCH] riscv: uaccess: fix type of 0 variable on error in get_user()
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.com>:
On Thu, 29 Dec 2022 17:05:45 +0000 you wrote:
> If the get_user(x, ptr) has x as a pointer, then the setting
> of (x) = 0 is going to produce the following sparse warning,
> so fix this by forcing the type of 'x' when access_ok() fails.
>
> fs/aio.c:2073:21: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Ben Dooks <ben-linux@...ff.org>
>
> [...]
Here is the summary with links:
- riscv: uaccess: fix type of 0 variable on error in get_user()
https://git.kernel.org/riscv/c/b9b916aee671
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists