All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: zltjiangshi@gmail.com
Cc: aleksandar.rikalo@syrmia.com, chenhuacai@gmail.com,
	f4bug@amsat.org, qemu-devel@nongnu.org,
	aleksandar.qemu.devel@gmail.com, chenhc@lemote.com,
	aurelien@aurel32.net
Subject: Re: [PATCH for-5.1 V5 0/4] mips: Add Loongson-3 machine support (with KVM)
Date: Tue, 23 Jun 2020 06:02:07 -0700 (PDT)	[thread overview]
Message-ID: <159291732571.6029.8642408239343726657@d1fd068a5071> (raw)
In-Reply-To: <1592914438-30317-1-git-send-email-chenhc@lemote.com>

Patchew URL: https://patchew.org/QEMU/1592914438-30317-1-git-send-email-chenhc@lemote.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [PATCH for-5.1 V5 0/4] mips: Add Loongson-3 machine support (with KVM)
Type: series
Message-id: 1592914438-30317-1-git-send-email-chenhc@lemote.com

=== 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 ===

From https://github.com/patchew-project/qemu
 * [new tag]         patchew/1592914438-30317-1-git-send-email-chenhc@lemote.com -> patchew/1592914438-30317-1-git-send-email-chenhc@lemote.com
Switched to a new branch 'test'
63e13a2 MAINTAINERS: Add Loongson-3 maintainer and reviewer
727fa14 hw/mips: Add Loongson-3 machine support (with KVM)
5fd21a0 hw/intc: Add Loongson liointc support
6996d49 hw/mips: Implement the kvm_type() hook in MachineClass

=== OUTPUT BEGIN ===
1/4 Checking commit 6996d492ec71 (hw/mips: Implement the kvm_type() hook in MachineClass)
2/4 Checking commit 5fd21a0bcd83 (hw/intc: Add Loongson liointc support)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#36: 
new file mode 100644

ERROR: line over 90 characters
#90: FILE: hw/intc/loongson_liointc.c:50:
+#define LOONGSON_LIOINTC(obj) OBJECT_CHECK(struct loongson_liointc, (obj), TYPE_LOONGSON_LIOINTC)

ERROR: open brace '{' following struct go on the same line
#93: FILE: hw/intc/loongson_liointc.c:53:
+struct loongson_liointc
+{

ERROR: code indent should never use tabs
#148: FILE: hw/intc/loongson_liointc.c:108:
+^I    if (p->parent_state[parent] !=$

total: 3 errors, 1 warnings, 256 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 727fa142abed (hw/mips: Add Loongson-3 machine support (with KVM))
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#84: 
new file mode 100644

WARNING: line over 80 characters
#404: FILE: hw/mips/loongson3_virt.c:316:
+static void loongson3_pm_write(void *opaque, hwaddr addr, uint64_t val, unsigned size)

WARNING: line over 80 characters
#704: FILE: hw/mips/loongson3_virt.c:616:
+    fw_cfg_add_i16(fw_cfg, FW_CFG_MAX_CPUS, (uint16_t)current_machine->smp.max_cpus);

WARNING: line over 80 characters
#840: FILE: hw/mips/loongson3_virt.c:752:
+static inline void loongson3_virt_devices_init(MachineState *machine, DeviceState *pic)

WARNING: line over 80 characters
#871: FILE: hw/mips/loongson3_virt.c:783:
+                             get_system_io(), 0, virt_memmap[VIRT_PCIE_PIO].size);

WARNING: line over 80 characters
#977: FILE: hw/mips/loongson3_virt.c:889:
+    /* Allocate RAM/BIOS, 0x00000000~0x10000000 is alias of 0x80000000~0x90000000 */

total: 0 errors, 6 warnings, 999 lines checked

Patch 3/4 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
4/4 Checking commit 63e13a297290 (MAINTAINERS: Add Loongson-3 maintainer and reviewer)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/1592914438-30317-1-git-send-email-chenhc@lemote.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

  parent reply	other threads:[~2020-06-23 13:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23 12:13 [PATCH for-5.1 V5 0/4] mips: Add Loongson-3 machine support (with KVM) Huacai Chen
2020-06-23 12:13 ` [PATCH for-5.1 V5 1/4] hw/mips: Implement the kvm_type() hook in MachineClass Huacai Chen
2020-06-23 12:13 ` [PATCH for-5.1 V5 2/4] hw/intc: Add Loongson liointc support Huacai Chen
2020-06-23 14:02   ` Aleksandar Markovic
2020-06-23 14:50   ` Aleksandar Markovic
2020-06-24  1:23     ` Jiaxun Yang
2020-06-23 12:13 ` [PATCH for-5.1 V5 3/4] hw/mips: Add Loongson-3 machine support (with KVM) Huacai Chen
2020-06-23 13:19   ` Aleksandar Markovic
2020-06-23 13:46   ` Aleksandar Markovic
2020-06-24 11:26     ` Aleksandar Markovic
2020-06-26 10:30       ` Huacai Chen
2020-06-23 14:04   ` Aleksandar Markovic
2020-06-24  6:34     ` Huacai Chen
2020-06-23 12:13 ` [PATCH for-5.1 V5 4/4] MAINTAINERS: Add Loongson-3 maintainer and reviewer Huacai Chen
2020-06-23 13:50   ` Aleksandar Markovic
2020-06-24  6:32     ` Huacai Chen
2020-06-23 13:02 ` no-reply [this message]
2020-06-23 13:58   ` [PATCH for-5.1 V5 0/4] mips: Add Loongson-3 machine support (with KVM) Aleksandar Markovic
2020-06-24  6:12     ` Huacai Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159291732571.6029.8642408239343726657@d1fd068a5071 \
    --to=no-reply@patchew.org \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=aleksandar.rikalo@syrmia.com \
    --cc=aurelien@aurel32.net \
    --cc=chenhc@lemote.com \
    --cc=chenhuacai@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=qemu-devel@nongnu.org \
    --cc=zltjiangshi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.