Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1123778pxb; Tue, 8 Feb 2022 09:46:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwKdpTTkcNka6dL1wyUKZZeL/Hqpi6L1CPM0KPmusgwE5hDcoRxWQ/4OCNE71XciRMWb9Y X-Received: by 2002:a17:906:d78b:: with SMTP id pj11mr4622778ejb.584.1644342389005; Tue, 08 Feb 2022 09:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644342388; cv=none; d=google.com; s=arc-20160816; b=d0ZyI6LO+84TWWWHBng0ryKI8OMtPuU+0yYS+57sTQuS7mMnymlx8xk94syyytk3DK J40V34vRBeHhQQcGWeeOxSOWbjiokcx1FnZja9fMj9X2xB5mvIIXxfsEI7ulY3sWQ4rJ fgLMMTmco4h+eHTxWLOFVRNY6vZ45bO4oGmjjUptwMX2KTJictEYwZyNHZiCW0seKmp0 iMErKMsw9zRUel9+HyHvPh1cwo1q60yAjW7rRomTqxnQmIXG58C671BfMOci37Sz0mMs I+H0Wmy+s5uJdU87le3Q/xYOxgXHxs+kzGJQgoiVhiXKb62HoGZiDcNo3eoe2QGIj785 9Hdw== 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; bh=hjWf60JMAVQJhgmfPlSAZ5+/ceseer8Z60uDPAGgkAM=; b=bEwBFHCKvEir/HnngGckvypmMI1tvVhG9ZA5q4PhH3K0yMZ11RLNPWkvuvJJiDSZ5d OjTVQ3LfXiAuFd/wvj9NnAaDTka5KfPoPXFY5DlT6qUanEQ7R+INYA/d+kINrZpb0DnZ dPWI/tkrbPo6NBrC/sZAfmxp2GwtHBPhmj1LMS7gi7xa7sOQ+AiYDFp7kUzz1JF3BNbd 2vc6tWI4b9lEHYON8erlEsW43iOqEBrcDVXbnxEozh5XsythA4Hfp3C1o8He+NOEZo4u H/zidZWt3FC/dH/cLZ3a7gljqhHqZypybzbv4/acjwetZxZsvqgnzB1rbiFyp2f4Ua4T Nmuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pXzzk49Y; 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 v4si3949918edc.51.2022.02.08.09.46.03; Tue, 08 Feb 2022 09:46:28 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=pXzzk49Y; 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 S240434AbiBGG6L (ORCPT + 99 others); Mon, 7 Feb 2022 01:58:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbiBGGpJ (ORCPT ); Mon, 7 Feb 2022 01:45:09 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E485FC043184 for ; Sun, 6 Feb 2022 22:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hjWf60JMAVQJhgmfPlSAZ5+/ceseer8Z60uDPAGgkAM=; b=pXzzk49YMnKOxHpmbc1xBRgNAL Ujjdd1Q+r1Gjl7lGPov+1N+OOEbrvHtVbAfEyYQO77jxzH84Ia7qA1WQoF9TDMvc9LrfuFSjMzG6i 6VbmkrhCNvBRqB2CwPGbKMZ3ctisrbKiSjrk3dEGRuBe2APNAlNgfzCxU3OIlk3eBAhCB5n9CbM5b Lj49nzeWXJ1EfaM10qescnIfoa8ioXZuDLSRk5Ezh84PAUtgDgGcDB3qotgIrnPIBlEQ6ukIf/VRX 4G1lvmG8+Ujb3sn2am0knaGYQD+j5rHpvnwNCpFVlcftMRoVJJ09VwRuennleFVgZt60ASDVTbkHQ kAtwVylw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGxlq-009B91-SM; Mon, 07 Feb 2022 06:45:06 +0000 Date: Sun, 6 Feb 2022 22:45:06 -0800 From: Christoph Hellwig To: Stafford Horne Cc: LKML , Christoph Hellwig , Arnd Bergmann , Jonas Bonn , Stefan Kristiansson , Randy Dunlap , openrisc@lists.librecores.org Subject: Re: [PATCH] openrisc: remove CONFIG_SET_FS Message-ID: References: <20220206013648.3491865-1-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220206013648.3491865-1-shorne@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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_NONE,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 On Sun, Feb 06, 2022 at 10:36:47AM +0900, Stafford Horne wrote: > Remove the address space override API set_fs() used for User Mode Linux. This ain't UML :) > + return size <= TASK_SIZE && addr <= (TASK_SIZE - size); No need for the inner braces.