All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Bernhard Beschow <shentey@gmail.com>
Cc: "Matyáš Bobek" <matyas.bobek@gmail.com>,
	qemu-devel@nongnu.org, "Matyas Bobek" <bobekmat@fel.cvut.cz>,
	"Pavel Pisa" <pisa@fel.cvut.cz>,
	qemu-arm@nongnu.org, "Marc Kleine-Budde" <mkl@pengutronix.de>,
	"Oliver Hartkopp" <socketcan@hartkopp.net>,
	"Nikita Ostrenkov" <n.ostrenkov@gmail.com>,
	"Peter Maydell" <peter.maydell@linaro.org>
Subject: Re: [PATCH v2 6/7] tests: Add qtests for FlexCAN
Date: Tue, 14 Apr 2026 13:23:06 +0100	[thread overview]
Message-ID: <ad4xqiJnd8GoCrGu@redhat.com> (raw)
In-Reply-To: <FB523542-A8A0-4B5D-B757-2C6F7F7AD981@gmail.com>

On Tue, Apr 14, 2026 at 12:11:58PM +0000, Bernhard Beschow wrote:
> 
> 
> Am 13. April 2026 13:23:16 UTC schrieb "Daniel P. Berrangé" <berrange@redhat.com>:
> >On Mon, Apr 13, 2026 at 01:16:20PM +0000, Bernhard Beschow wrote:
> >> 
> >> 
> >> Am 19. März 2026 19:13:13 UTC schrieb "Matyáš Bobek" <matyas.bobek@gmail.com>:
> >> >The tests do not test all of the FlexCAN emulator functionality.
> >> >
> >> >Signed-off-by: Matyáš Bobek <matyas.bobek@gmail.com>
> >> >---
> >> > MAINTAINERS                |   1 +
> >> > tests/qtest/flexcan-test.c | 424 +++++++++++++++++++++++++++++++++++++
> >> > tests/qtest/meson.build    |   1 +
> >> > 3 files changed, 426 insertions(+)
> >> > create mode 100644 tests/qtest/flexcan-test.c
> >> >
> >> >diff --git a/MAINTAINERS b/MAINTAINERS
> >> >index e723863a6f..dbb159f031 100644
> >> >--- a/MAINTAINERS
> >> >+++ b/MAINTAINERS
> >> >@@ -2090,6 +2090,7 @@ S: Maintained
> >> > F: hw/net/can/flexcan.c
> >> > F: hw/net/can/flexcan_regs.h
> >> > F: include/hw/net/flexcan.h
> >> >+F: tests/qtest/flexcan-test.c
> >> > 
> >> > EDU
> >> > M: Jiri Slaby <jslaby@suse.cz>
> >> >diff --git a/tests/qtest/flexcan-test.c b/tests/qtest/flexcan-test.c
> >> >new file mode 100644
> >> >index 0000000000..b5880d4119
> >> >--- /dev/null
> >> >+++ b/tests/qtest/flexcan-test.c
> >> >@@ -0,0 +1,424 @@
> >> >+/*
> >> >+ * QTests for FlexCAN CAN controller device model
> >> >+ *
> >> >+ * Copyright (c) 2025 Matyas Bobek <matyas.bobek@gmail.com>
> >> >+ *
> >> >+ * This code is licensed under the GPL version 2 or later.  See
> >> >+ * the COPYING file in the top-level directory.
> >> 
> >> IIUC this license text is redundant to the specifier below, but again, IANAL. Daniel?
> >
> >checkpatch.pl  should complain about this.
> >
> >For *newly* written files, only the SPDX-License-Identifier should be
> >present.   Traditional license boilerplate is only permitted if we're
> >dealing with historical files where we're required to preserve existing
> >license text.
> 
> Thanks for the hint!
> 
> Though checkpatch.pl doesn't seem to catch this particular case. Is a patch needed here?

Yeah, it seems it is slightly different enough to miss our
checks. If you want, you can submit another addition to the
@LICENSE_BOILERPLATE list in checkpatch.pl


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



  reply	other threads:[~2026-04-14 12:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19 19:13 [PATCH v2 0/7] hw/arm/sabrelite: Add FlexCAN support Matyáš Bobek
2026-03-19 19:13 ` [PATCH v2 1/7] hw/arm/sabrelite: Open code DEFINE_MACHINE_ARM Matyáš Bobek
2026-03-24 20:58   ` Bernhard Beschow
2026-03-19 19:13 ` [PATCH v2 2/7] hw/arm/sabrelite: Introduce class SabreliteMachineState Matyáš Bobek
2026-03-24 11:11   ` Bernhard Beschow
2026-03-19 19:13 ` [PATCH v2 3/7] hw/misc/imx6_ccm: Add PLL3 and CAN clock Matyáš Bobek
2026-03-19 19:13 ` [PATCH v2 4/7] hw/net/can/flexcan: NXP FlexCAN core emulation Matyáš Bobek
2026-03-21 12:16   ` Pavel Pisa
2026-04-13 10:56   ` Bernhard Beschow
2026-04-13 22:30     ` Pavel Pisa
2026-04-14 12:09       ` Bernhard Beschow
2026-03-19 19:13 ` [PATCH v2 5/7] hw/arm: Plug FlexCAN into FSL_IMX6 and Sabrelite Matyáš Bobek
2026-03-19 19:13 ` [PATCH v2 6/7] tests: Add qtests for FlexCAN Matyáš Bobek
2026-04-13 13:16   ` Bernhard Beschow
2026-04-13 13:23     ` Daniel P. Berrangé
2026-04-14 12:11       ` Bernhard Beschow
2026-04-14 12:23         ` Daniel P. Berrangé [this message]
2026-04-14 13:57           ` Bernhard Beschow
2026-03-19 19:13 ` [PATCH v2 7/7] docs/arm/sabrelite: Mention FlexCAN support Matyáš Bobek
2026-03-19 19:37 ` [PATCH v2 0/7] hw/arm/sabrelite: Add " Pavel Pisa
2026-04-02 10:02 ` Bernhard Beschow
2026-04-13 13:22   ` Bernhard Beschow

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=ad4xqiJnd8GoCrGu@redhat.com \
    --to=berrange@redhat.com \
    --cc=bobekmat@fel.cvut.cz \
    --cc=matyas.bobek@gmail.com \
    --cc=mkl@pengutronix.de \
    --cc=n.ostrenkov@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=pisa@fel.cvut.cz \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=shentey@gmail.com \
    --cc=socketcan@hartkopp.net \
    /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.