lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <174975903349.88969.3262884542771574514.git-patchwork-notify@kernel.org>
Date: Thu, 12 Jun 2025 20:10:33 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Palmer Dabbelt <palmer@...belt.com>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
 aou@...s.berkeley.edu, alex@...ti.fr, cyrilbur@...storrent.com,
 jszhang@...nel.org, cleger@...osinc.com, samuel.holland@...ive.com,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RISC-V: uaccess: Wrap the get_user_8 uaccess macro

Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...belt.com>:

On Tue, 10 Jun 2025 14:30:58 -0700 you wrote:
> From: Palmer Dabbelt <palmer@...belt.com>
> 
> I must have lost this rebasing things during the merge window, I know I
> got it at some point but it's not here now.  Without this I get warnings
> along the lines of
> 
>     include/linux/fs.h:3975:15: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
>      3975 |         if (unlikely(get_user(c, path)))
>           |                      ^
>     arch/riscv/include/asm/uaccess.h:274:3: note: expanded from macro 'get_user'
>       274 |                 __get_user((x), __p) :                          \
>           |                 ^
>     arch/riscv/include/asm/uaccess.h:244:2: note: expanded from macro '__get_user'
>       244 |         __get_user_error(__gu_val, __gu_ptr, __gu_err);         \
>           |         ^
>     arch/riscv/include/asm/uaccess.h:207:2: note: expanded from macro '__get_user_error'
>       207 |         __ge  LD [M]  net/802/psnap.ko
>     t_user_nocheck(x, ptr, __gu_failed);                        \
>           |         ^
>     arch/riscv/include/asm/uaccess.h:196:3: note: expanded from macro '__get_user_nocheck'
>       196 |                 __get_user_8((x), __gu_ptr, label);             \
>           |                 ^
>     arch/riscv/include/asm/uaccess.h:130:2: note: expanded from macro '__get_user_8'
>       130 |         u32 __user *__ptr = (u32 __user *)(ptr);                \
>           |         ^
> 
> [...]

Here is the summary with links:
  - RISC-V: uaccess: Wrap the get_user_8 uaccess macro
    https://git.kernel.org/riscv/c/2aa5801ada29

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ