Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3797473iog; Tue, 21 Jun 2022 06:16:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uAL9OvEN7x8OrIoWwXkCikqYSOKEsvZpuT8EjFYCNSSokcGA4To3mJa5vKb6x48aby524P X-Received: by 2002:a05:6402:4414:b0:434:f58c:ee2e with SMTP id y20-20020a056402441400b00434f58cee2emr35130931eda.362.1655817361471; Tue, 21 Jun 2022 06:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655817361; cv=none; d=google.com; s=arc-20160816; b=kfq6bffOY1jX4NCx4kB1rXQ1WeeyCxsHpEnSdf9B5sYw5xn6pDC7+d8Ghmwndz+xHs k+9HWzDlWs0UdjQ2h+T+67T2BBVTCTgGyP153X4FXIQy7mt1uYJ95rK9RSmAWaHpTdRS Gpkp7/loKuNNGSQVkqZEMSZyQ8FnF1xbk1axdpjP4nariUKndPpvhb67trHs/Rsa6UX7 NXLZ16n15aCmS0rFWCmXavh0euvPzRBv0ILGIenqF8Z5JVLvcDuQ2B/a+fuHKgEav/MY /QsgXqpCI/QNcGIZ5rZTe80ilPS4SSRL7Lv7+WUCY6mlDFiOhFemnP4K0dDRH0/VvDNn PeDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=MWxGCVhhM9V+nm0bfTf57DTLuPvO9j2xCiVZB4dgHjI=; b=iz7BgL3eryqJL1FDLzzDR0ybd0UewI5HPipoAM0C9et2foJzEIAfA/1ysAu2ok5czb kJwQ+FsLcumhC0Vz9PARKB+gwp6nN8h5BXGWJDMfeShfkuejw44y14T6EkH6bXuiBS9X qXo3805EbUC/haMJw2LrvzyYPiU3DTXaoBBY9L04TSTyGrsAOCFUdc7GDAavC7NTotnm ZPWfNgLnnmS8mNaReWQZ9c5nkO35hK0eMmAjP0/Ftj1StyKciRBmD9mqFeH9vO206I4N vo0aR+ywQtGerowFMHDxLfRdporj1ya6Ziv7903d2Mx41O77bXRVue0OTID8JaqkHImN gwQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w5-20020a056402070500b0043574c5a72fsi8412069edx.360.2022.06.21.06.15.35; Tue, 21 Jun 2022 06:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350167AbiFUNEP convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Jun 2022 09:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349803AbiFUNEL (ORCPT ); Tue, 21 Jun 2022 09:04:11 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C6DED237F2 for ; Tue, 21 Jun 2022 06:04:08 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-12-D7su6iPqNO-F5Tx2uXwdog-1; Tue, 21 Jun 2022 14:04:05 +0100 X-MC-Unique: D7su6iPqNO-F5Tx2uXwdog-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Tue, 21 Jun 2022 14:04:04 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.036; Tue, 21 Jun 2022 14:04:04 +0100 From: David Laight To: 'Cyril Hrubis' , "linux-kernel@vger.kernel.org" CC: "linux-arch@vger.kernel.org" , "linux-api@vger.kernel.org" , "libc-alpha@sourceware.org" , "arnd@arndb.de" , "ltp@lists.linux.it" , "zack@owlfolio.org" , "dhowells@redhat.com" Subject: RE: [PATCH v3] uapi: Make __{u,s}64 match {u,}int64_t in userspace Thread-Topic: [PATCH v3] uapi: Make __{u,s}64 match {u,}int64_t in userspace Thread-Index: AQHYhWa4Wwgq8v8s30aZYtCosiJuGq1Z063Q Date: Tue, 21 Jun 2022 13:04:04 +0000 Message-ID: References: <20220621120355.2903-1-chrubis@suse.cz> In-Reply-To: <20220621120355.2903-1-chrubis@suse.cz> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)