Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1939085pxj; Sat, 22 May 2021 06:21:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4yJv4faxZw8Ia0HAeQ5VLHCtGrTKr1qlsC+cawSKzMgsglPc5VAiVmbx0NzFoTk3UWpXy X-Received: by 2002:a6b:630c:: with SMTP id p12mr4660179iog.124.1621689662568; Sat, 22 May 2021 06:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621689662; cv=none; d=google.com; s=arc-20160816; b=W6nyLKclFVlCVN56/Hv0JU91vvcJWjycUnTHUYm5vKBw7Ni4HH4XzqQZLgH9Qgk2vx G2aQABg5fDnGJN5DVzbdpDjT55WRpPkWbPSRemfvYK+V2R0Wzc9WFjwauNKR2+D5majE oIxa1gmThVNygURzyxlv5Rd6oWEUodd11P7KrNP0d0Nx3hlf57ekxt4CprDVhPflMQRM aOx/H3khd9Pe56Hd08dbcSXMGu95vs+OSAVYMZzufg4D/p7JkOuVdtO7zZwXtG68Ajo8 p1aCoElN1ssOD4OCMVWm+zhIEVDLd2+ytsEMQ7XQSqfmnb8tzr5006sCh2JHbXrNbCvw MFEQ== 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=YrXz4URuTqmDfEyCD1awFGZEvu50m2F9qyEPmEfB4iM=; b=GISP2wTEUpi6AzYg6/8xXNrM3qhnsNn6QpBCCkZqccESCxpD8dSX+Xsu0vVhydXFWl P4hHfTpIN45HnkziSKsgJ+hur7p0+vCV4eYMFOURoSZoToPkq5P/JQ3oPDLRyjVYdyKH QALB8CXG/CPUaAjZE7ZK7hI+qOcM83UaKf6wmkwVK3QNHmCi7J/0neOHY6pIqHapcxHn tBx+gjCZgixMd/9rb9XR4icsbh1aPVao++HVFjY4Z8CHliqJZ/auafT0KRzKXmcaFiG2 kcBcTa4UxePHOJXndbKM49HfdZJtJhtDP31hyQMgBtvRl1iKdb5MJ0W6XDjfKSWDVvba haiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si8750919ili.157.2021.05.22.06.20.46; Sat, 22 May 2021 06:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230484AbhEVNU3 (ORCPT + 99 others); Sat, 22 May 2021 09:20:29 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:38218 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbhEVNU3 (ORCPT ); Sat, 22 May 2021 09:20:29 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-186-YyNY5b8DMRiUupCLn4Pc3Q-1; Sat, 22 May 2021 14:19:01 +0100 X-MC-Unique: YyNY5b8DMRiUupCLn4Pc3Q-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.2; Sat, 22 May 2021 14:19:00 +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.015; Sat, 22 May 2021 14:19:00 +0100 From: David Laight To: "'H. Peter Anvin'" , Thomas Gleixner , Ingo Molnar , Andy Lutomirski , "Borislav Petkov" CC: Linux Kernel Mailing List Subject: RE: [PATCH v4 6/6] x86/syscall: use int everywhere for system call numbers Thread-Topic: [PATCH v4 6/6] x86/syscall: use int everywhere for system call numbers Thread-Index: AQHXTolzOOJ56hwIbUKIzI134bBX1arvaoRw Date: Sat, 22 May 2021 13:19:00 +0000 Message-ID: <39d875e0212240c9869c0419efd75bfa@AcuMS.aculab.com> References: <20210518191303.4135296-1-hpa@zytor.com> <20210518191303.4135296-7-hpa@zytor.com> <87zgwpbxby.ffs@nanos.tec.linutronix.de> In-Reply-To: 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: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSC4gUGV0ZXIgQW52aW4NCj4gU2VudDogMjEgTWF5IDIwMjEgMjI6MzcNCj4gDQo+IE9u IDUvMjAvMjEgMTo1MyBBTSwgVGhvbWFzIEdsZWl4bmVyIHdyb3RlOg0KPiA+IE9uIFR1ZSwgTWF5 IDE4IDIwMjEgYXQgMTI6MTMsIEguIFBldGVyIEFudmluIHdyb3RlOg0KPiA+PiArc3RhdGljIF9f YWx3YXlzX2lubGluZSBib29sIGRvX3N5c2NhbGxfeDY0KHN0cnVjdCBwdF9yZWdzICpyZWdzLCBp bnQgbnIpDQo+ID4+ICt7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