Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2930424rdh; Mon, 27 Nov 2023 02:35:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEAtqx2kULQ0I0xApsWKZYhX9UuT06bKjpdn8vrXt4yU7iE+BrD0cWg+bF1sc8nwlmAXjQa X-Received: by 2002:a05:6830:1058:b0:6d6:4fed:a21a with SMTP id b24-20020a056830105800b006d64feda21amr11545893otp.6.1701081348600; Mon, 27 Nov 2023 02:35:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701081348; cv=none; d=google.com; s=arc-20160816; b=MDMsGfouSuXTQ7TxWeOBqTgsYnBMNdnaf3aGQ/va5bT3gO3rbte5Vfq37+tqzNJdOE gSmddYbwnrxC4iEXNeKZZTvjJjDuV8VjrrWuf+2YeNTtyobO6rCEZR+jG4The1yZh15o 3Zw4jtm00iVy0v1dC9NZDYHc4aVGqX14CRZ4KLJb/1MCeVEnFK1oDAHbe2+atQ/+8/pG qBfnCsEEMjeUIBvAZCaGqgeJdtr9mXRnX8MmxMvoZWdxMx8xryKjTLHHm4GiKcjtEdX/ Di/jdqYECwRySLATzyJGqS2G/LbgOVvQm2I80C5Gmo/HU2Nssk67FdTdFZ0w3inddoeU F9SA== 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=0WK1dCXaeLGR5DoE1TjRTt2TIeyQzGzLfvpSsUpw5xg=; fh=2uY8aaJJ6pNT/k03DnD594WU9+I0axtMbQYOJLOjgmk=; b=FYtH4qFf7Mhs8I2DIzFP/9k5TFE5vdgLrpH06mE/cDHWiYlmCIHxqyfGVaOntb2+NX Bi7J6TYtPL+yZsxyyFrtCalrKf9wfd6THpSE0oSkDY60SwG+3SFTkNVtTqqry2SVS7U5 +Gty5bmUi5DwlUPpFvrXupxv0a9c5u5LINze1ifCCpCwBYRQw0kTHvk6YiBL3z+s5eZm 2oQoPdkxYJ37AMbeY1TpMlTCo777NS1JGSQJ+cqy5TjQSXZOflX6XlWUrtBZvu97FMb4 2FWlgDcM3WrBmOqk1ckoqgV8KOb4LReTWfAGfjAya/SdbWAWqNSnyO8I0hRbeLQZama8 BYbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id 16-20020a631050000000b005bd043751ccsi9507592pgq.748.2023.11.27.02.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 02:35:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 22928802BD74; Mon, 27 Nov 2023 02:35:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232976AbjK0Kfc (ORCPT + 99 others); Mon, 27 Nov 2023 05:35:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232972AbjK0Kf3 (ORCPT ); Mon, 27 Nov 2023 05:35:29 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 707B3183 for ; Mon, 27 Nov 2023 02:35:35 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-304--iAy6FWzNo6bScLr0riqlw-1; Mon, 27 Nov 2023 10:35:32 +0000 X-MC-Unique: -iAy6FWzNo6bScLr0riqlw-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 27 Nov 2023 10:35:42 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 27 Nov 2023 10:35:42 +0000 From: David Laight To: =?utf-8?B?J0Nsw6ltZW50IEzDqWdlcic=?= , Paul Walmsley , Palmer Dabbelt , Albert Ou , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: Christoph Hellwig , Ben Dooks , kernel test robot Subject: RE: [PATCH v2] riscv: fix incorrect use of __user pointer Thread-Topic: [PATCH v2] riscv: fix incorrect use of __user pointer Thread-Index: AQHaHsrcAiRrTVkzkEi8HCpEAmrYerCLK9CggALOZICAAAHAIA== Date: Mon, 27 Nov 2023 10:35:42 +0000 Message-ID: <72fb7d8085a644e4a3e2e540a9ed6847@AcuMS.aculab.com> References: <20231124113803.165431-1-cleger@rivosinc.com> <9cb1fadf-bb83-4e9f-9c29-bff53e30b0c6@rivosinc.com> In-Reply-To: <9cb1fadf-bb83-4e9f-9c29-bff53e30b0c6@rivosinc.com> 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 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 27 Nov 2023 02:35:46 -0800 (PST) RnJvbTogQ2zDqW1lbnQgTMOpZ2VyDQo+IFNlbnQ6IDI3IE5vdmVtYmVyIDIwMjMgMTA6MjQNCj4g DQo+IE9uIDI1LzExLzIwMjMgMTY6MzcsIERhdmlkIExhaWdodCB3cm90ZToNCj4gPiAuLi4NCj4g Pj4gQEAgLTQ5MSw3ICs0ODYsNyBAQCBpbnQgaGFuZGxlX21pc2FsaWduZWRfbG9hZChzdHJ1Y3Qg cHRfcmVncyAqcmVncykNCj4gPj4NCj4gPj4gIAl2YWwuZGF0YV91NjQgPSAwOw0KPiA+PiAgCWZv ciAoaSA9IDA7IGkgPCBsZW47IGkrKykgew0KPiA+PiAtCQlpZiAobG9hZF91OChyZWdzLCAodm9p ZCAqKShhZGRyICsgaSksICZ2YWwuZGF0YV9ieXRlc1tpXSkpDQo+ID4+ICsJCWlmIChsb2FkX3U4 KHJlZ3MsIGFkZHIgKyBpLCAmdmFsLmRhdGFfYnl0ZXNbaV0pKQ0KPiA+PiAgCQkJcmV0dXJuIC0x Ow0KPiA+PiAgCX0NCj4gPg0KPiA+IEknZCByZWFsbHkgaGF2ZSB0aG91Z2h0IHRoYXQgeW91J2Qg d2FudCB0byBwdWxsIHRoZSBrZXJuZWwvdXNlcg0KPiA+IGNoZWN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