Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5028868imu; Tue, 8 Jan 2019 10:13:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN529tua91lmWdUWjHVzYkm5VSY0iI6Tq/bbWUVFegXNCg3evHYvseAhlKx0WB0i7+iXyHDX X-Received: by 2002:a62:d2c1:: with SMTP id c184mr2769561pfg.248.1546971193777; Tue, 08 Jan 2019 10:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546971193; cv=none; d=google.com; s=arc-20160816; b=QKsL+TfCVxxvOiViIaXd3quYZ5YBZB/fLjfT0f3VgNuLaPq/V/6pSYSw9dkJwmOAlO 3OCxHrNzmuDRPhezV73jtJHOHFWahchLQLfHLO3LcJg1aT5DWL3KHg93FFjWe7AKICsl hlHLAailS9c9W0/ptWiuVq49aIuhnIestIITxDBOukE1vg5MXfCdMLthd7NUi2O/dT/7 +sDXg3/Jm/UwyKkfKWdfGXEZK8sUWiitAQ1AG3Wuom4vkSd0Rpbsj29m6bA3KHp0uPdh dkiLHp2SN8Zhu1kRxweAOuuhFSOyZ5tUu9ozJ0CsB6n/nYdbQjk0NH8m/JqW0XDbp7Mu OkaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=R4p9kQS9d/rYiye9iB/h7RrZgVY153buqId33GQYen4=; b=QobOcLFz596E72SD2OWsj9a/qlzbVWs4S2RgeUIY12WIfhybKkGWx2vumT8u4OKGm8 7ZlD5vuJQ0B7wC/7R8ce3gLGaE8YQz+ESIdVFqx4Sm65cXHZyveOGgMNpjUDrpHleT3K rmEDrbkwWPRIZI3Ob3JV5ydzf+6Vl5yf0r8xDjbaP6oBbEeGpxCTR1C4YIvicEmIgW5i 70V0rzcHdZD16SlB49NhjS5CB4V/cdBqfgvRoS+AHFmKNwxKoH9RBeEiFIVxa/vCp7+b FxV7ezWWYqohyjIjefUGJXJocf2onzaEUMmZONi7dy/FBGcmHzhqAfTduROeji5sqksG 8E9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TMaJKRlo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m65si68210131pfg.282.2019.01.08.10.12.57; Tue, 08 Jan 2019 10:13:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TMaJKRlo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729245AbfAHSK5 (ORCPT + 99 others); Tue, 8 Jan 2019 13:10:57 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:34148 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728587AbfAHSK5 (ORCPT ); Tue, 8 Jan 2019 13:10:57 -0500 Received: by mail-lf1-f65.google.com with SMTP id p6so3659050lfc.1 for ; Tue, 08 Jan 2019 10:10:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R4p9kQS9d/rYiye9iB/h7RrZgVY153buqId33GQYen4=; b=TMaJKRlobRWsxLX/QSR2DNg7DWjudvN3j8vWbiS7Uoon+OqUSpEgpso+Fo0eQXo5Kb f5U/tFRJYv9rqtD1hLNGNRlijzmdxHQqySJzw/tj1aFVXUCkjtuw34QJdiGbFR/cV+I3 bZ4tt8ib5SpOWwyJ2+luBqe+Pu2lZG29vO5FA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R4p9kQS9d/rYiye9iB/h7RrZgVY153buqId33GQYen4=; b=dQ+5QcRdX5+7BdVUAWCRPY+NgP9FbXng10etVnlIEGRHoN1/6oJPDTckMc/CwxCE3t xe885blyAoQQBQoed8v9Sba2MdCvWHGeaat5pOppRQg9rf+HiNP8IID5K2cyT3AvFyd6 7z4Z2TCgMXvo6/CGZTcU+LDErhx9JGjoAFB/fbCoPj58N8TNtzIul454sz3HhoeOEQBY 6dBtioIePkE19Y5CwTg0L/WBvuxjGd/KJw6zde5DQ7wWRK0HhK8OOhvWIm3lM0RLnWCM fFMNSe9H61+hAMYHunAa3eGWmAKNh/CSWNtn8L4zB+BOabyP1z90o5L2RGlrrJmIuFSM T/EA== X-Gm-Message-State: AJcUuke+hR/dfYNWACfVlk3bnwBpTxnEYAgJxVQmiK/Hd6GDInt6UGoV RIxrAzytaf2TXzrQYIsd9PRN+Qq36zU= X-Received: by 2002:a19:f510:: with SMTP id j16mr1545132lfb.35.1546971055044; Tue, 08 Jan 2019 10:10:55 -0800 (PST) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com. [209.85.208.175]) by smtp.gmail.com with ESMTPSA id h12-v6sm14308403ljb.80.2019.01.08.10.10.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 10:10:54 -0800 (PST) Received: by mail-lj1-f175.google.com with SMTP id g11-v6so4222586ljk.3 for ; Tue, 08 Jan 2019 10:10:54 -0800 (PST) X-Received: by 2002:a2e:9c7:: with SMTP id 190-v6mr1461299ljj.120.1546971053650; Tue, 08 Jan 2019 10:10:53 -0800 (PST) MIME-Version: 1.0 References: <20190108131516.27903-1-shorne@gmail.com> In-Reply-To: <20190108131516.27903-1-shorne@gmail.com> From: Linus Torvalds Date: Tue, 8 Jan 2019 10:10:37 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arch/openrisc: Fix issues with access_ok() To: Stafford Horne Cc: LKML , Guenter Roeck , Jonas Bonn , Stefan Kristiansson , openrisc@lists.librecores.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 8, 2019 at 5:15 AM Stafford Horne wrote: > > The commit 594cc251fdd0 ("make 'user_access_begin()' do 'access_ok()'") > exposed incorrect implementations of access_ok() macro in several > architectures. This change fixes 2 issues found in OpenRISC. Looks good to me. Should I apply this directly, or expect a pull request with it later? Linus