Skip to content

Instantly share code, notes, and snippets.

View linux-riscv-bot's full-sized avatar

Linux RISC-V Bot linux-riscv-bot

View GitHub Profile
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 22:58
pw997711-p14213826
CHECK: Unnecessary parentheses around msb->req_sg[msb->current_seg]
#29: FILE: drivers/memstick/core/mspro_block.c:563:
+ sg_page(&(msb->req_sg[msb->current_seg])) + (t_offset >> PAGE_SHIFT),
total: 0 errors, 0 warnings, 1 checks, 9 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 c3a36db940a0 ("mspro_block: drop nth_page() usage within SG entry") has style problems, please review.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 18:48
pw997711-p14213819
CHECK: Alignment should match open parenthesis
#42: FILE: include/linux/mm.h:206:
+static inline bool page_range_contiguous(const struct page *page,
+ unsigned long nr_pages)
total: 0 errors, 0 warnings, 1 checks, 137 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.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 17:30
pw997711-p14213818
CHECK: Alignment should match open parenthesis
#69: FILE: arch/mips/mm/cache.c:103:
+void __flush_dcache_folio_pages(struct folio *folio, struct page *page,
+ unsigned int nr)
total: 0 errors, 0 warnings, 1 checks, 55 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.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 12:09
pw997862-p14214420
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#40:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 254 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 cc81739cff46 ("riscv: dts: microchip: add a device tree for Discovery Kit") has style problems, please review.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 10:40
pw997862-p14214417
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#127:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 106 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 9fef10bd60b6 ("riscv: dts: microchip: add icicle kit with production device") has style problems, please review.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 10:19
pw997711-p14213762
CHECK: Alignment should match open parenthesis
#51: FILE: include/linux/mm.h:224:
+static inline unsigned long folio_page_idx(const struct folio *folio,
+ const struct page *page)
total: 0 errors, 0 warnings, 1 checks, 41 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.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 09:30
pw997807-p14214240
CHECK: extern prototypes should be avoided in .h files
#28: FILE: arch/riscv/include/asm/barrier.h:54:
+extern void __bad_size_call_parameter(void);
CHECK: Macro argument 'p' may be better as '(p)' to avoid precedence issues
#30: FILE: arch/riscv/include/asm/barrier.h:56:
+#define __smp_store_release(p, v) \
+do { \
+ compiletime_assert_atomic_type(*p); \
+ switch (sizeof(*p)) { \
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 09:11
pw997862-p14214389
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#20:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 497 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 57c2cfb6a593 ("riscv: dts: microchip: add common board dtsi for icicle kit variants") has style problems, please review.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 07:58
pw997807-p14214239
WARNING: Argument 'dest' is not used in function-like macro
#96: FILE: arch/riscv/include/asm/insn-def.h:277:
+#define LD_AQ(dest, addr) \
+ __ASM_STR(.error "ld.aq requires 64-bit support")
WARNING: Argument 'addr' is not used in function-like macro
#96: FILE: arch/riscv/include/asm/insn-def.h:277:
+#define LD_AQ(dest, addr) \
+ __ASM_STR(.error "ld.aq requires 64-bit support")
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created September 2, 2025 04:16
pw997711-p14213750
CHECK: Prefer using the BIT macro
#42: FILE: include/linux/mm.h:2009:
+#define MAX_FOLIO_NR_PAGES (1UL << MAX_FOLIO_ORDER)
total: 0 errors, 0 warnings, 1 checks, 43 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 f4bcb9b65f3d ("mm/page_alloc: reject unreasonable folio/compound page sizes in alloc_contig_range_noprof()") has style problems, please review.