From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 08 Jul 2023 09:03:39 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qI1ym-002adh-UC for lore@lore.pengutronix.de; Sat, 08 Jul 2023 09:03:39 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qI1yl-0000JX-0N; Sat, 08 Jul 2023 09:03:39 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qI1xx-0007Rt-S6; Sat, 08 Jul 2023 09:02:49 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qI1xx-00CtyC-5j; Sat, 08 Jul 2023 09:02:49 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qI1xx-009Fm3-09; Sat, 08 Jul 2023 09:02:49 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sat, 8 Jul 2023 09:02:49 +0200 Message-Id: <20230708070249.2205580-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230630084547.1142768-1-p.zabel@pengutronix.de> References: <20230630084547.1142768-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] fbtest: version bump 2014-08-11-g29ab066 -> 2023-03-28-g47f6351 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 4ef2884e8b4d71d4020af902c691318d2a305daa. Michael [sent from post-receive hook] On Sat, 08 Jul 2023 09:02:48 +0200, Philipp Zabel wrote: > Add a patch to fix build with GCC 13. > > Signed-off-by: Philipp Zabel > Message-Id: <20230630084547.1142768-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/patches/fbtest-2014-08-11-g29ab066/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch b/patches/fbtest-2023-03-28-g47f6351/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > similarity index 99% > rename from patches/fbtest-2014-08-11-g29ab066/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > rename to patches/fbtest-2023-03-28-g47f6351/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > index 0baef3cd7b85..97b5d1c82a94 100644 > --- a/patches/fbtest-2014-08-11-g29ab066/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > +++ b/patches/fbtest-2023-03-28-g47f6351/0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > @@ -19,7 +19,7 @@ Signed-off-by: Marc Kleine-Budde > create mode 100644 images/penguin.c > > diff --git a/Makefile b/Makefile > -index 9a0a7ad95d9b..1557199d1fb5 100644 > +index 5041f6ca5ca1..512a684f5f32 100644 > --- a/Makefile > +++ b/Makefile > @@ -3,7 +3,7 @@ TOPDIR = . > diff --git a/patches/fbtest-2014-08-11-g29ab066/0002-add-install-target.patch b/patches/fbtest-2023-03-28-g47f6351/0002-add-install-target.patch > similarity index 83% > rename from patches/fbtest-2014-08-11-g29ab066/0002-add-install-target.patch > rename to patches/fbtest-2023-03-28-g47f6351/0002-add-install-target.patch > index 636226d537f8..3e65cbaa4b0d 100644 > --- a/patches/fbtest-2014-08-11-g29ab066/0002-add-install-target.patch > +++ b/patches/fbtest-2023-03-28-g47f6351/0002-add-install-target.patch > @@ -9,10 +9,10 @@ Signed-off-by: Markus Niebel > 1 file changed, 2 insertions(+) > > diff --git a/Makefile b/Makefile > -index 1557199d1fb5..1f926b4cf6be 100644 > +index 512a684f5f32..c20376dccf70 100644 > --- a/Makefile > +++ b/Makefile > -@@ -12,3 +12,5 @@ include $(TOPDIR)/Rules.make > +@@ -13,3 +13,5 @@ include $(TOPDIR)/Rules.make > > images: pnmtohex > > diff --git a/patches/fbtest-2023-03-28-g47f6351/0003-Initialize-ticks-in-benchmark.patch b/patches/fbtest-2023-03-28-g47f6351/0003-Initialize-ticks-in-benchmark.patch > new file mode 100644 > index 000000000000..0360f05b9cf6 > --- /dev/null > +++ b/patches/fbtest-2023-03-28-g47f6351/0003-Initialize-ticks-in-benchmark.patch > @@ -0,0 +1,29 @@ > +From: Philipp Zabel > +Date: Thu, 29 Jun 2023 10:28:40 +0200 > +Subject: [PATCH] Initialize ticks in benchmark() > + > +Fixes a build error with GCC 13: > + > + util.c: In function 'benchmark': > + util.c:177:17: error: 'ticks' may be used uninitialized [-Werror=maybe-uninitialized] > + util.c:161:14: note: 'ticks' was declared here > + > +Link: https://lore.kernel.org/r/20230629082840.888110-1-p.zabel@pengutronix.de > +Signed-off-by: Philipp Zabel > +--- > + util.c | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/util.c b/util.c > +index cdf89b38618a..1193523990e7 100644 > +--- a/util.c > ++++ b/util.c > +@@ -158,7 +158,7 @@ static uint64_t get_ticks(void) > + > + double benchmark(void (*func)(unsigned long n, void *data), void *data) > + { > +- uint64_t ticks; > ++ uint64_t ticks = 0; > + unsigned long n = 1; > + > + printf("Benchmarking... "); > diff --git a/patches/fbtest-2014-08-11-g29ab066/series b/patches/fbtest-2023-03-28-g47f6351/series > similarity index 60% > rename from patches/fbtest-2014-08-11-g29ab066/series > rename to patches/fbtest-2023-03-28-g47f6351/series > index af761ac8d633..d3af842b3291 100644 > --- a/patches/fbtest-2014-08-11-g29ab066/series > +++ b/patches/fbtest-2023-03-28-g47f6351/series > @@ -2,4 +2,5 @@ > #tag:base --start-number 1 > 0001-provide-a-pre-generated-penguin.c-to-get-rid-of-this.patch > 0002-add-install-target.patch > -# 96842eebf8f8f3ef2bf71367ce23f9cd - git-ptx-patches magic > +0003-Initialize-ticks-in-benchmark.patch > +# 552895bf186281b657d9f116ef4cae0d - git-ptx-patches magic > diff --git a/rules/fbtest.make b/rules/fbtest.make > index 16d9941c9256..5d0810bf9389 100644 > --- a/rules/fbtest.make > +++ b/rules/fbtest.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_FBTEST) += fbtest > # > # Paths and names > # > -FBTEST_VERSION := 2014-08-11-g29ab066 > -FBTEST_MD5 := 48d1f4e6450ded48c44733539c1c9614 > +FBTEST_VERSION := 2023-03-28-g47f6351 > +FBTEST_MD5 := 3523551d53c89c83505cad8d9cbf2bfe > FBTEST := fbtest-$(FBTEST_VERSION) > FBTEST_SUFFIX := tar.gz > FBTEST_URL := https://git.kernel.org/pub/scm/linux/kernel/git/geert/fbtest.git;tag=$(FBTEST_VERSION)