Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Timo Keller <tkeller@linux.ibm.com>
To: Christian Borntraeger <borntraeger@linux.ibm.com>,
	Janosch Frank <frankja@linux.ibm.com>,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	David Hildenbrand <david@kernel.org>,
	Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Sven Schnelle <svens@linux.ibm.com>,
	Steffen Eiden <seiden@linux.ibm.com>,
	Christoph Schlameuss <schlameuss@linux.ibm.com>
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org,
	Timo Keller <tkeller@linux.ibm.com>,
	stable@vger.kernel.org
Subject: [PATCH 2/2] s390/uvdevice: Fix UVIO_SUPP_UDEV_INFO definition
Date: Thu, 03 Dec 2026 10:02:43 +0100	[thread overview]
Message-ID: <20261203-uv-fixes-v1-2-3c605396591e@linux.ibm.com> (raw)
In-Reply-To: <20261203-uv-fixes-v1-0-3c605396591e@linux.ibm.com>

UVIO_SUPP_UDEV_INFO refers to UVIO_IOCTL_UDEV_INFO_NR, which does not
exist. The enum value is named UVIO_IOCTL_UVDEV_INFO_NR. The macro is
not used in the kernel, so the typo went unnoticed, but any userspace
using it fails to compile.

Use the correct enum value.

Fixes: ea9d97163523 ("s390/uvdevice: Add info IOCTL")
Cc: <stable@vger.kernel.org> # 6.5+
Signed-off-by: Timo Keller <tkeller@linux.ibm.com>
---
 arch/s390/include/uapi/asm/uvdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/include/uapi/asm/uvdevice.h b/arch/s390/include/uapi/asm/uvdevice.h
index 4947f26ad9fb..d3cf0aa9fef9 100644
--- a/arch/s390/include/uapi/asm/uvdevice.h
+++ b/arch/s390/include/uapi/asm/uvdevice.h
@@ -96,7 +96,7 @@ enum UVIO_IOCTL_NR {
 #define UVIO_IOCTL_RETR_SECRET		UVIO_IOCTL(UVIO_IOCTL_RETR_SECRET_NR)
 
 #define UVIO_SUPP_CALL(nr)		(1ULL << (nr))
-#define UVIO_SUPP_UDEV_INFO		UVIO_SUPP_CALL(UVIO_IOCTL_UDEV_INFO_NR)
+#define UVIO_SUPP_UDEV_INFO		UVIO_SUPP_CALL(UVIO_IOCTL_UVDEV_INFO_NR)
 #define UVIO_SUPP_ATT			UVIO_SUPP_CALL(UVIO_IOCTL_ATT_NR)
 #define UVIO_SUPP_ADD_SECRET		UVIO_SUPP_CALL(UVIO_IOCTL_ADD_SECRET_NR)
 #define UVIO_SUPP_LIST_SECRETS		UVIO_SUPP_CALL(UVIO_IOCTL_LIST_SECRETS_NR)

-- 
2.56.1


  parent reply	other threads:[~2026-12-03  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  9:02 [PATCH 0/2] s390/uvdevice: Fix typos Timo Keller
2026-12-03  9:02 ` [PATCH 1/2] s390/uvdevice: Fix UVC bit for retrieve secret ioctl Timo Keller
2026-12-03  9:36   ` Steffen Eiden
2026-12-03  9:02 ` Timo Keller [this message]
2026-12-03  9:37   ` [PATCH 2/2] s390/uvdevice: Fix UVIO_SUPP_UDEV_INFO definition Steffen Eiden

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=20261203-uv-fixes-v1-2-3c605396591e@linux.ibm.com \
    --to=tkeller@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=david@kernel.org \
    --cc=frankja@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=schlameuss@linux.ibm.com \
    --cc=seiden@linux.ibm.com \
    --cc=stable@vger.kernel.org \
    --cc=svens@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox