Skip to content

Instantly share code, notes, and snippets.

@linux-riscv-bot
Created June 26, 2025 00:04
Show Gist options
  • Save linux-riscv-bot/afc66c64a14f99fed6e90d220195fac5 to your computer and use it in GitHub Desktop.
Save linux-riscv-bot/afc66c64a14f99fed6e90d220195fac5 to your computer and use it in GitHub Desktop.
pw975583-p14131627
WARNING: braces {} are not necessary for any arm of this statement
#130: FILE: arch/powerpc/include/asm/book3s/64/pgtable.h:1323:
+ if (radix_enabled()) {
[...]
+ } else {
[...]
WARNING: braces {} are not necessary for any arm of this statement
#151: FILE: arch/powerpc/include/asm/book3s/64/pgtable.h:1340:
+ if (radix_enabled()) {
[...]
+ } else {
[...]
WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#154: FILE: arch/powerpc/include/asm/book3s/64/pgtable.h:1343:
+ BUG();
WARNING: line length of 102 exceeds 100 columns
#248: FILE: arch/powerpc/mm/book3s64/pgtable.c:189:
+ old_pmd = __pmd(pmd_hugepage_update(vma->vm_mm, address, pmdp, _PAGE_PRESENT, _PAGE_INVALID));
total: 0 errors, 4 warnings, 0 checks, 210 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
Commit 5c2b3c7e9e18 ("powerpc: mm: Support page table check") has style problems, please review.
NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 4 warnings, 0 checks, 210 lines checked
WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
WARNING: braces {} are not necessary for any arm of this statement
WARNING: line length of 102 exceeds 100 columns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment