Linux s390 Architecture development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: linux-s390@vger.kernel.org, "Heiko Carstens" <hca@linux.ibm.com>,
	"Vasily Gorbik" <gor@linux.ibm.com>,
	"Alexander Gordeev" <agordeev@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>
Subject: Re: [PATCH 2/9] arm64/vdso: Directly include the generic vDSO implementations
Date: Fri, 04 Dec 2026 07:38:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-249330@kernel.org> (raw)
In-Reply-To: <20261204-vdso-generic-include-v1-2-8f4ed31bfbbd@linutronix.de>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64/vdso: dangling VDSO_CFLAGS_gettimeofday_o and dead vdso32
  rule
--

commit 7c017d5e800bf0df985cc1885c862ee263cbf241
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

arm64/vdso: Directly include the generic vDSO implementations

This commit replaces the compiler -include flags in the arm64 vDSO and
compat vDSO Makefiles with direct #include directives for
lib/vdso/gettimeofday.c and lib/vdso/getrandom.c.

> diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile
> index 00efdc5d23543..f521d5e4b5cdf 100644
> --- a/arch/arm64/kernel/vdso32/Makefile
> +++ b/arch/arm64/kernel/vdso32/Makefile
> @@ -95,10 +95,6 @@ hostprogs := $(munge)
>  c-obj-vdso := note.o
>  c-obj-vdso-gettimeofday := vgettimeofday.o
>  
> -ifneq ($(c-gettimeofday-y),)
> -VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y)
> -endif
> -
>  VDSO_CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os
>  
>  # Build rules

[Severity: Low]
Now that the only assignment to VDSO_CFLAGS_gettimeofday_o is removed,
cmd_vdsocc_gettimeofday references an undefined variable and becomes
identical to cmd_vdsocc.  Could vgettimeofday.o be folded into c-obj-vdso
and the separate c-obj-vdso-gettimeofday list, pattern rule, and
cmd_vdsocc_gettimeofday definitions be dropped?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-vdso-generic-include-v1-0-8f4ed31bfbbd@linutronix.de?part=2

  reply	other threads:[~2026-12-04  7:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  7:30 [PATCH 0/9] vdso: Directly include the generic vDSO implementations Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 1/9] csky/vdso: Remove all gettimeofday() remnants Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 2/9] arm64/vdso: Directly include the generic vDSO implementations Thomas Weißschuh
2026-12-04  7:38   ` sashiko-bot [this message]
2026-12-04  7:30 ` [PATCH 3/9] ARM: vdso: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 4/9] LoongArch: vDSO: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 5/9] powerpc/vdso: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 6/9] MIPS: VDSO: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 7/9] riscv: vdso: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 8/9] s390/vdso: " Thomas Weißschuh
2026-12-04  7:30 ` [PATCH 9/9] vdso: Drop the old inclusion machinery Thomas Weißschuh
2026-12-04  7:41 ` [PATCH 0/9] vdso: Directly include the generic vDSO implementations sashiko-bot

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=sashiko-outbox-249330@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=thomas.weissschuh@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox