From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Jan Beulich <JBeulich@suse.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
Wei Liu <wl@xen.org>, Julien Grall <julien@xen.org>
Subject: [PATCH 1/4] public/version: Change xen_feature_info to have a fixed size
Date: Tue, 3 Jan 2023 20:09:40 +0000 [thread overview]
Message-ID: <20230103200943.5801-2-andrew.cooper3@citrix.com> (raw)
In-Reply-To: <20230103200943.5801-1-andrew.cooper3@citrix.com>
This is technically an ABI change, but Xen doesn't operate in any environment
where "unsigned int" is differnet to uint32_t, so switch to the explicit form.
This avoids the need to derive (identical) compat logic for handling the
subop.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: George Dunlap <George.Dunlap@eu.citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Wei Liu <wl@xen.org>
CC: Julien Grall <julien@xen.org>
---
xen/include/public/version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/include/public/version.h b/xen/include/public/version.h
index 9c78b4f3b6a4..0ff8bd9077c6 100644
--- a/xen/include/public/version.h
+++ b/xen/include/public/version.h
@@ -50,7 +50,7 @@ typedef struct xen_platform_parameters xen_platform_parameters_t;
#define XENVER_get_features 6
struct xen_feature_info {
- unsigned int submap_idx; /* IN: which 32-bit submap to return */
+ uint32_t submap_idx; /* IN: which 32-bit submap to return */
uint32_t submap; /* OUT: 32-bit submap */
};
typedef struct xen_feature_info xen_feature_info_t;
--
2.11.0
next prev parent reply other threads:[~2023-01-03 20:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 20:09 [PATCH 0/4] Fix truncation of various XENVER_* subops Andrew Cooper
2023-01-03 20:09 ` Andrew Cooper [this message]
2023-01-04 9:03 ` [PATCH 1/4] public/version: Change xen_feature_info to have a fixed size Julien Grall
2023-01-03 20:09 ` [PATCH 2/4] xen/version: Drop compat/kernel.c Andrew Cooper
2023-01-04 16:29 ` Jan Beulich
2023-01-04 19:15 ` Andrew Cooper
2023-01-05 7:22 ` Jan Beulich
2023-01-04 16:48 ` Jan Beulich
2023-01-03 20:09 ` [PATCH 3/4] xen/version: Drop bogus return values for XENVER_platform_parameters Andrew Cooper
2023-01-04 16:40 ` Jan Beulich
2023-01-04 19:55 ` Andrew Cooper
2023-01-05 7:57 ` Jan Beulich
2023-01-05 22:17 ` Andrew Cooper
2023-01-06 7:54 ` Jan Beulich
2023-01-06 12:14 ` Andrew Cooper
2023-01-09 8:06 ` Jan Beulich
2023-01-03 20:09 ` [PATCH 4/4] xen/version: Introduce non-truncating XENVER_* subops Andrew Cooper
2023-01-03 20:47 ` Julien Grall
2023-01-03 21:22 ` Andrew Cooper
2023-01-03 21:40 ` Julien Grall
2023-01-04 17:04 ` Jan Beulich
2023-01-04 18:34 ` Andrew Cooper
2023-01-05 8:15 ` Jan Beulich
2023-01-05 22:28 ` Andrew Cooper
2023-01-06 7:56 ` Jan Beulich
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=20230103200943.5801-2-andrew.cooper3@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/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.