Skip to content

[PW_SID:970573] RISC-V: uaccess: Wrap the get_user_8 uaccess macro#501

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw970573
Closed

[PW_SID:970573] RISC-V: uaccess: Wrap the get_user_8 uaccess macro#501
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw970573

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 970573 applied to workflow__riscv__fixes

Name: RISC-V: uaccess: Wrap the get_user_8 uaccess macro
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=970573
Version: 1

Linux RISC-V bot and others added 2 commits June 10, 2025 21:44
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);                \
          |         ^

Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 104.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 2032.66 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 2747.51 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.41 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 71.43 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: uaccess: Wrap the get_user_8 uaccess macro"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.44 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch 2 times, most recently from 0b44c19 to 8023d1f Compare June 12, 2025 20:21
@linux-riscv-bot linux-riscv-bot deleted the pw970573 branch June 12, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants