From: David Laight <David.Laight@ACULAB.COM>
To: 'Cyril Hrubis' <chrubis@suse.cz>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>,
"linux-api@vger.kernel.org" <linux-api@vger.kernel.org>,
"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>,
"arnd@arndb.de" <arnd@arndb.de>,
"ltp@lists.linux.it" <ltp@lists.linux.it>,
"zack@owlfolio.org" <zack@owlfolio.org>,
"dhowells@redhat.com" <dhowells@redhat.com>
Subject: RE: [PATCH v3] uapi: Make __{u,s}64 match {u,}int64_t in userspace
Date: Tue, 21 Jun 2022 13:04:04 +0000 [thread overview]
Message-ID: <a26ab9bfc27a430bb8a7b6aa2f39d724@AcuMS.aculab.com> (raw)
In-Reply-To: <20220621120355.2903-1-chrubis@suse.cz>
From: Cyril Hrubis
> Sent: 21 June 2022 13:04
>
> This changes the __u64 and __s64 in userspace on 64bit platforms from
> long long (unsigned) int to just long (unsigned) int in order to match
> the uint64_t and int64_t size in userspace for C code.
>
> We cannot make the change for C++ since that would be non-backwards
> compatible change and may cause possible regressions and even
> compilation failures, e.g. overloaded function may no longer find a
> correct match.
Isn't is enough just to mention C++ name mangling?
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
next prev parent reply other threads:[~2022-06-21 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 12:03 [PATCH v3] uapi: Make __{u,s}64 match {u,}int64_t in userspace Cyril Hrubis
2022-06-21 13:01 ` Alejandro Colomar
2022-06-21 13:04 ` David Laight [this message]
2022-06-21 14:15 ` Cyril Hrubis
2022-06-23 7:48 ` Arnd Bergmann
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=a26ab9bfc27a430bb8a7b6aa2f39d724@AcuMS.aculab.com \
--to=david.laight@aculab.com \
--cc=arnd@arndb.de \
--cc=chrubis@suse.cz \
--cc=dhowells@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ltp@lists.linux.it \
--cc=zack@owlfolio.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).