Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3858178iog; Tue, 21 Jun 2022 07:21:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tuw0W26WH4rXjlpg8BotLH9yg/rkMu+H/h1cbbgmelhzhYwe0RD6WVaQqZ5AxCyRMyksI0 X-Received: by 2002:a17:906:53c7:b0:711:d2e9:99d4 with SMTP id p7-20020a17090653c700b00711d2e999d4mr25310130ejo.716.1655821284794; Tue, 21 Jun 2022 07:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655821284; cv=none; d=google.com; s=arc-20160816; b=H3OeDZtTOqYvnC8WeDySkdZ6+dFUvnigGcy0XE1uOQ2sefhjCo4R2kgooLckqsX3p4 +lx4LZEWkwDxAII+tn++JZXSnAbplf+Nz47HWY0DbRkfNHaNsTFT87fnE9uEyI3lVPGQ vwzU81ibxw/sEIFSZOaNCK2eY0h2LyNs05uSr+Q21LBJjpuHkfJWtiH7BBMFaukJtGY8 qKvaxvIj7GfIaousyfcvt3HBVF6Wz/4mzDhwjc8iLCCHIC93YP/IXAlfTuyqqSGVLLrt N23V1IZ6m2pTcMtKvQcHVCUpn7uDiGGEeGflKc2P2/0KNQIoyGk0EJ60fkPtl2JGU1V8 KN8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=/+TeT4ZwFQudR9WGTQ/brWI4SLn3ea8f0ve/OTXW8J8=; b=uAs8ZQ4uzj8/S2Nj5OPygKm0tKsHz7d+4S1oda2qWhmtdKdZME0PdHO/GvZKv01lYY zsLoz/o0uEZe6hIHftb9EdG1ncC5vsQ4pW7vfDOm3W7X+wyIZSS+1FHuzhlKgR8skGD/ fIz1EpjrZ07Sah+COJseS0lCHSzizxxfZNqUJJtWZIUzwdKjRBAVB/Fs1DBASLBDYDkR qSPIRV2peqvX66q9fXtcX4Orn16q0QD1OtBSJO0Rb8ZlN6rYQ4QGyeyAT9/qFIxfXsKL UnSST1UXPlty421uuVrPOSF1se8vv/mgAz8twRfZd4uOn/njEYAtV6KKxF3l2kA8dj/D Aj1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FkJDVNq+; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs1-20020a056402304100b004335e08d790si16882662edb.124.2022.06.21.07.20.57; Tue, 21 Jun 2022 07:21:24 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FkJDVNq+; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348927AbiFUONB (ORCPT + 99 others); Tue, 21 Jun 2022 10:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbiFUOM7 (ORCPT ); Tue, 21 Jun 2022 10:12:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACE27B82; Tue, 21 Jun 2022 07:12:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3DEF821C3D; Tue, 21 Jun 2022 14:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655820776; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/+TeT4ZwFQudR9WGTQ/brWI4SLn3ea8f0ve/OTXW8J8=; b=FkJDVNq+fbKgSXE/PJ6skJHye5TdJhqoPviTJ1hYeIh59AynIzNpftdaRw2UfOtJEAWM7v VOlTlpoxseYKhD3zmDVvWAfiP/kZ2wvTPaDUp0GWoPQCQzrIjq+zC9txIkwGYX3uISOz4E SDwBnuwMZ8sxao3CxNXxK+vw9riL2Iw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655820776; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/+TeT4ZwFQudR9WGTQ/brWI4SLn3ea8f0ve/OTXW8J8=; b=EKN4j9hcVE2niktqIwU1dVwdk8nh9cS+9l1edB0ZmJHvrZf09FjuKBXzZTVVbbSQfuG/zF 0zLrbshZ4gvpVxDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 267C013638; Tue, 21 Jun 2022 14:12:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id C9CGCOjRsWIRRQAAMHmgww (envelope-from ); Tue, 21 Jun 2022 14:12:56 +0000 Date: Tue, 21 Jun 2022 16:15:04 +0200 From: Cyril Hrubis To: David Laight Cc: "linux-kernel@vger.kernel.org" , "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 Message-ID: References: <20220621120355.2903-1-chrubis@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi! > > 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? I just picked up the argument that was brought up in the discussion about the v1 patch and used it as a concrete example. Mangling is I guess more straightforward example of a breakage. I can change the description if there is consensus that such description would be better. -- Cyril Hrubis chrubis@suse.cz