[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/4] RISC-V multi-socket support
From: |
no-reply |
Subject: |
Re: [PATCH 0/4] RISC-V multi-socket support |
Date: |
Sat, 16 May 2020 04:58:18 -0700 (PDT) |
Patchew URL: https://patchew.org/QEMU/address@hidden/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Message-id: address@hidden
Subject: [PATCH 0/4] RISC-V multi-socket support
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
9031755 hw/riscv: virt: Allow creating multiple sockets
67e9547 hw/riscv: Allow creating multiple instances of PLIC
2999a11 hw/riscv: spike: Allow creating multiple sockets
b563a80 hw/riscv: Allow creating multiple instances of CLINT
=== OUTPUT BEGIN ===
1/4 Checking commit b563a8089a7a (hw/riscv: Allow creating multiple instances
of CLINT)
2/4 Checking commit 2999a1101f27 (hw/riscv: spike: Allow creating multiple
sockets)
ERROR: braces {} are necessary for all arms of this statement
#202: FILE: hw/riscv/spike.c:194:
+ if ((smp_cpus / s->num_socs) < SPIKE_CPUS_PER_SOCKET_MIN)
[...]
ERROR: braces {} are necessary for all arms of this statement
#206: FILE: hw/riscv/spike.c:198:
+ if (SPIKE_SOCKETS_MAX < s->num_socs)
[...]
ERROR: braces {} are necessary for all arms of this statement
#212: FILE: hw/riscv/spike.c:204:
+ if (i == (s->num_socs - 1))
[...]
+ else
[...]
WARNING: line over 80 characters
#248: FILE: hw/riscv/spike.c:299:
+ htif_mm_init(system_memory, mask_rom, &s->soc[0].harts[0].env,
serial_hd(0));
WARNING: line over 80 characters
#266: FILE: hw/riscv/spike.c:322:
+ object_initialize_child(OBJECT(machine), "soc", &s->soc[0],
sizeof(s->soc[0]),
WARNING: line over 80 characters
#284: FILE: hw/riscv/spike.c:386:
+ htif_mm_init(system_memory, mask_rom, &s->soc[0].harts[0].env,
serial_hd(0));
WARNING: line over 80 characters
#302: FILE: hw/riscv/spike.c:414:
+ object_initialize_child(OBJECT(machine), "soc", &s->soc[0],
sizeof(s->soc[0]),
WARNING: line over 80 characters
#329: FILE: hw/riscv/spike.c:497:
+ htif_mm_init(system_memory, mask_rom, &s->soc[0].harts[0].env,
serial_hd(0));
total: 3 errors, 5 warnings, 322 lines checked
Patch 2/4 has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
3/4 Checking commit 67e95477fcbe (hw/riscv: Allow creating multiple instances
of PLIC)
4/4 Checking commit 90317551d9da (hw/riscv: virt: Allow creating multiple
sockets)
ERROR: spaces required around that '*' (ctx:VxV)
#32: FILE: hw/riscv/virt.c:63:
+ [VIRT_PLIC] = { 0xc000000, VIRT_PLIC_SIZE(VIRT_CPUS_MAX*2) },
^
WARNING: line over 80 characters
#295: FILE: hw/riscv/virt.c:343:
+ qemu_fdt_setprop_cell(fdt, name, "interrupt-parent",
plic_virtio_phandle);
ERROR: braces {} are necessary for all arms of this statement
#478: FILE: hw/riscv/virt.c:497:
+ if ((smp_cpus / s->num_socs) < VIRT_CPUS_PER_SOCKET_MIN)
[...]
ERROR: braces {} are necessary for all arms of this statement
#482: FILE: hw/riscv/virt.c:501:
+ if (VIRT_SOCKETS_MAX < s->num_socs)
[...]
ERROR: braces {} are necessary for all arms of this statement
#497: FILE: hw/riscv/virt.c:508:
+ if (i == (s->num_socs - 1))
[...]
+ else
[...]
total: 4 errors, 1 warnings, 638 lines checked
Patch 4/4 has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===
Test command exited with code: 1
The full log is available at
http://patchew.org/logs/address@hidden/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to address@hidden
- RE: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, (continued)
- RE: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, Anup Patel, 2020/05/22
- Re: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, Alistair Francis, 2020/05/26
- RE: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, Anup Patel, 2020/05/26
- Re: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, Alistair Francis, 2020/05/26
- RE: [PATCH 2/4] hw/riscv: spike: Allow creating multiple sockets, Anup Patel, 2020/05/27
[PATCH 3/4] hw/riscv: Allow creating multiple instances of PLIC, Anup Patel, 2020/05/16
[PATCH 4/4] hw/riscv: virt: Allow creating multiple sockets, Anup Patel, 2020/05/16
Re: [PATCH 0/4] RISC-V multi-socket support,
no-reply <=
Re: [PATCH 0/4] RISC-V multi-socket support, Alistair Francis, 2020/05/19