Skip to content

MicroBlaze Port #155824

MicroBlaze Port

MicroBlaze Port #155824

Triggered via pull request October 18, 2024 17:46
Status Failure
Total duration 2m 42s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 34s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 3 warnings, and 10 notices
SphinxLint: boards/qemu/microblaze/doc/index.rst#L11
boards/qemu/microblaze/doc/index.rst:11 default role used (hint: for inline literals, use double backticks) (default-role)
SphinxLint: boards/qemu/microblaze/doc/index.rst#L13
boards/qemu/microblaze/doc/index.rst:13 default role used (hint: for inline literals, use double backticks) (default-role)
Run compliance checks on patch series (PR)
Process completed with exit code 6.
Run compliance checks on patch series (PR): BinaryFiles.txt#L1
No binary files allowed. Binary file not allowed: boards/qemu/microblaze/board-qemu-microblaze-demo.dtb
Run compliance checks on patch series (PR): Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. MISSING_EOF_NEWLINE: adding a line without newline at end of file File:arch/microblaze/core/sbrk.c Line:32 LONG_LINE: line length of 103 exceeds 100 columns File:arch/microblaze/core/thread.c Line:21
Run compliance checks on patch series (PR): Gitlint.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details Commit 6944604419: 1: T5 Title contains the word 'wip' (case-insensitive): "WIP: Builds and tests pass: fixes/patches to be squashed" 3: UC4 Commit message body line exceeds max length (120>75): "2213 test scenarios (2008 test instances) selected, 1599 configurations skipped (1399 by static filter, 200 at runtime)." 4: UC4 Commit message body line exceeds max length (117>75): "409 of 2008 test configurations passed (100.00%), 0 failed, 0 errored, 1599 skipped with 0 warnings in 590.92 seconds" 5: UC4 Commit message body line exceeds max length (93>75): "In total 4651 test cases were executed, 11325 skipped on 1 out of total 1 platforms (100.00%)" 6: UC4 Commit message body line exceeds max length (86>75): "376 test configurations executed on platforms, 33 test configurations were only built." Commit 643d0932e9: 1: UC5 Commit title exceeds max length (79>75): "bodge: `sbrk` impl stolen from newlib to get minimal libc working w/ microblaze" 1: UC6 Commit message body is empty, should at least have 1 line(s). Commit 5cbcb48c63: 1: UC6 Commit message body is empty, should at least have 1 line(s). Commit 8ce304cb90: 1: UC5 Commit title exceeds max length (84>75): "fix: -Wrestrict error because gcc thinks `(FILE*(1))` and `1` are the same arguments" 1: UC6 Commit message body is empty, should at least have 1 line(s). Commit 36f503dd30: 1: UC6 Commit message body is empty, should at least have 1 line(s). Commit b572fd0a81: 1: UC6 Commit message body is empty, should at least have 1 line(s).
Run compliance checks on patch series (PR): Nits.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. Missing newline at end of 'arch/microblaze/core/sbrk.c'. Check your text editor settings. Please remove blank lines at start of 'arch/microblaze/core/sbrk.c'
Run compliance checks on patch series (PR): SphinxLint.txt#L1
Check Sphinx/reStructuredText files with sphinx-lint. SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role) File:boards/qemu/microblaze/doc/index.rst Line:11 SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role) File:boards/qemu/microblaze/doc/index.rst Line:13
Run compliance checks on patch series (PR)
Process completed with exit code 1.
MISSING_EOF_NEWLINE: arch/microblaze/core/sbrk.c#L32
arch/microblaze/core/sbrk.c:32 adding a line without newline at end of file
LONG_LINE: arch/microblaze/core/thread.c#L21
arch/microblaze/core/thread.c:21 line length of 103 exceeds 100 columns
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: - File:arch/microblaze/core/cache.c Line:9 You may want to run clang-format on this change: - if (0 == DCACHE_USE_WRITEBACK) + if (0 == DCACHE_USE_WRITEBACK) { return -ENOTSUP; + } File:arch/microblaze/core/cache.c Line:110 You may want to run clang-format on this change: - File:arch/microblaze/core/cpu_idle.c Line:8 You may want to run clang-format on this change: - - File:arch/microblaze/core/fatal.c Line:9 You may want to run clang-format on this change: - const microblaze_register_dump_t *dump) + const microblaze_register_dump_t *dump) File:arch/microblaze/core/fatal.c Line:33 You may want to run clang-format on this change: - File:arch/microblaze/core/irq_manage.c Line:8 You may want to run clang-format on this change: - ? arch_irq_pending_vector(real_irq_pending) - : find_lsb_set(emulated_irq_pending) - 1; + ? arch_irq_pending_vector(real_irq_pending) + : find_lsb_set(emulated_irq_pending) - 1; File:arch/microblaze/core/irq_manage.c Line:147 You may want to run clang-format on this change: - void (*routine)(const void *parameter), const void *parameter, - uint32_t flags) + void (*routine)(const void *parameter), const void *parameter, + uint32_t flags) File:arch/microblaze/core/irq_manage.c Line:173 You may want to run clang-format on this change: - - File:arch/microblaze/core/irq_offload.c Line:9 You may want to run clang-format on this change: - File:arch/microblaze/core/offsets/offsets.c Line:8 You may want to run clang-format on this change: - - File:arch/microblaze/core/prep_c.c Line:9 You may want to run clang-format on this change: -#define _DDR_NODE DT_CHOSEN(zephyr_sram) -#define _LAYOUT_DDR_LOC DT_REG_ADDR(_DDR_NODE) -#define _LAYOUT_DDR_SIZE DT_REG_SIZE(_DDR_NODE) +#define _DDR_NODE DT_CHOSEN(zephyr_sram) +#define _LAYOUT_DDR_LOC DT_REG_ADDR(_DDR_NODE) +#define _LAYOUT_DDR_SIZE DT_REG_SIZE(_DDR_NODE) /* Current offset from HEAP_BASE of unused memory */ __attribute__((section(".bss"), used)) static size_t heap_sz; -#define HEAP_BASE ((uintptr_t) (&_end)) +#define HEAP_BASE ((uintptr_t)(&_end)) File:arch/microblaze/core/sbrk.c Line:13 You may want to run clang-format on this change: - - #include <zephyr/kernel.h> void z_thread_entry(k_thread_entry_t thread, void *arg1, void *arg2, void *arg3); void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, char *stack_ptr, - k_thread_entry_t entry, void *arg1, void *arg2, void *arg3) + k_thread_entry_t entry, void *arg1, void *arg2, void *arg3) { struct arch_esf *stack_init; /* Initial stack frame for thread */ - stack_init = - (struct arch_esf *)Z_STACK_PTR_ALIGN(Z_STACK_PTR_TO_FRAME(struct arch_esf, stack_ptr)); + stack_init = (struct arch_esf *)Z_STACK_PTR_ALIGN( + Z_STACK_PTR_TO_FRAME(struct arch_esf, stack_ptr)); File:arch/microblaze/core/thread.c Line:22 You may want to run clang-format on this change: - - File:arch/microblaze/include/kernel_arch_data.h Line:9 You may want to run clang-format on this change: - File:arch/microblaze/include/kernel_arch_func.h Line:8 You may want to run clang-format on this change: - File:arch/microblaze/include/microblaze/emulate_isr.h Line:8 You may want to run clang-format on this change: -#define EMULATE_ISR() __asm__ volatile("\tbralid r14, microblaze_emulate_isr\n\tnop\n") +#define EMULATE_ISR() __asm__ volatile("\tbralid r14, microblaze_emulate_isr\n\tnop\n") File:arch/microblaze/include/microblaze/emulate_isr.h Line:19 You may want to run clang-format on this change: - - File:arch/microblaze/include/microblaze/mb_interface.h Line:9 You may want to run clang-format on this change: -#define wdc(v) ({ __asm__ __volatile__("wdc\t%0,r0\n" ::"d"(v)); }) +#define wdc(v) ({ __asm__ __volatile__("wdc\t%0,r0\n" ::"d"(v)); }) #define wdc_flush(v) ({ __asm__ __volatile__("wdc.flush\t%0,r0\n" ::"
You may want to run clang-format on this change: arch/microblaze/core/cache.c#L110
arch/microblaze/core/cache.c:110 - if (0 == DCACHE_USE_WRITEBACK) + if (0 == DCACHE_USE_WRITEBACK) { return -ENOTSUP; + }
You may want to run clang-format on this change: arch/microblaze/core/fatal.c#L9
arch/microblaze/core/fatal.c:9 - -
You may want to run clang-format on this change: arch/microblaze/core/fatal.c#L33
arch/microblaze/core/fatal.c:33 - const microblaze_register_dump_t *dump) + const microblaze_register_dump_t *dump)
You may want to run clang-format on this change: arch/microblaze/core/irq_manage.c#L8
arch/microblaze/core/irq_manage.c:8 -
You may want to run clang-format on this change: arch/microblaze/core/irq_manage.c#L147
arch/microblaze/core/irq_manage.c:147 - ? arch_irq_pending_vector(real_irq_pending) - : find_lsb_set(emulated_irq_pending) - 1; + ? arch_irq_pending_vector(real_irq_pending) + : find_lsb_set(emulated_irq_pending) - 1;
You may want to run clang-format on this change: arch/microblaze/core/irq_manage.c#L173
arch/microblaze/core/irq_manage.c:173 - void (*routine)(const void *parameter), const void *parameter, - uint32_t flags) + void (*routine)(const void *parameter), const void *parameter, + uint32_t flags)
You may want to run clang-format on this change: arch/microblaze/core/irq_offload.c#L9
arch/microblaze/core/irq_offload.c:9 - -
You may want to run clang-format on this change: arch/microblaze/core/offsets/offsets.c#L8
arch/microblaze/core/offsets/offsets.c:8 -

Artifacts

Produced during runtime
Name Size
compliance.xml
5.65 KB