From patchwork Fri Mar 20 20:26:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Edlinger X-Patchwork-Id: 11450289 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 56B6A14B4 for ; Fri, 20 Mar 2020 20:26:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0A94A2072C for ; Fri, 20 Mar 2020 20:26:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A94A2072C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hotmail.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 395A86B006C; Fri, 20 Mar 2020 16:26:43 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 36D586B006E; Fri, 20 Mar 2020 16:26:43 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 25B2C6B0070; Fri, 20 Mar 2020 16:26:43 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0129.hostedemail.com [216.40.44.129]) by kanga.kvack.org (Postfix) with ESMTP id 0E9FB6B006C for ; Fri, 20 Mar 2020 16:26:43 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id B9C6C180AD81D for ; Fri, 20 Mar 2020 20:26:42 +0000 (UTC) X-FDA: 76616873844.23.verse56_448563e4943 X-Spam-Summary: 2,0,0,5f407f6793493f73,d41d8cd98f00b204,bernd.edlinger@hotmail.de,,RULES_HIT:41:355:379:800:854:960:968:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1381:1437:1515:1516:1518:1535:1540:1593:1594:1683:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3867:3870:3871:4118:4250:5007:6737:6738:7652:10004:10400:11026:11658:11914:12048:12160:12296:12297:12519:12555:12760:12895:13069:13311:13357:14096:14097:14181:14394:14721:21080:21444:21627:30012:30054:30055,0,RBL:40.92.73.68:@hotmail.de:.lbl8.mailshell.net-66.100.201.100 62.18.84.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: verse56_448563e4943 X-Filterd-Recvd-Size: 7343 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-oln040092073068.outbound.protection.outlook.com [40.92.73.68]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Fri, 20 Mar 2020 20:26:41 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y1EYbEt3W4UaOwCVBaSWG4FmDFrp/JwZ4SYENyyttpG4yAkPyF65sigGQgggISP9ickYYGEgV20Z4kJypbos+XlBLiBmJIpeIKbKY+JpLhtzBNZ6+sZmIgt1MBtwi4+9Ovi7zXchbVpKv/t7RG05crmspppWuoZ4Ynelzn0gaMNd/8V0YvMM6rQSrixCKumhO8tkmloogJu9bSimo5vTxjWq9a1FRMynonLkWc6tiJn/6SYbKnnBr0FbSNvZC2F/MXT/93bATlNe9IyrUpWv/OWxzk2OkgZzds08GlxIQOmUPM6oLqwKPy7y3gFFq6ScggksOaSfA8t3sai2VK870Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1WAEios10nMeycUvXAuwRkKu/z6FPhIvoF71l5/4VBM=; b=Gvv2rHJyh6bLBvzO0REPaTz2ZNzWj0wNZ9QH2dP2+XnxfnbZG4DIrPdB/yKrleFUwNONyyqhwdn5cVYkUYYo9BD3+40+1X5aRnqp/MwFHR4lk9So7L85II6+WALYhdAHm+Fqk3tzs2+XeHyiRnptyVvGNyvnmE0JuOxqZEL9UZO6uTFFJTE69SFiv6aQC39piPm0EJVzO3LsSNFouHXLChvY9Hwtw51pwkBFYeW1uzSpdnbmQPNZO/aSIIvcnnNpLGYl+6Re0K8l4N5BJ4Rg3zNFgn0m5nSElt9NHs1r55xjFYhf7sHOJ8rdkqamm8BfmFw4H+ZeIV1FODxexEucBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.de; dmarc=pass action=none header.from=hotmail.de; dkim=pass header.d=hotmail.de; arc=none Received: from DB3EUR04FT027.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::3a) by DB3EUR04HT018.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::451) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13; Fri, 20 Mar 2020 20:26:39 +0000 Received: from AM6PR03MB5170.eurprd03.prod.outlook.com (10.152.24.52) by DB3EUR04FT027.mail.protection.outlook.com (10.152.24.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Fri, 20 Mar 2020 20:26:39 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C4B8A6DF05E76602939B9C2840A92C28100B9893E303DE51A48F7311C3BC1C84;UpperCasedChecksum:3F37BDFA7D08737957B334CDC4450B8B72A0EFC3AA02706966907725BDFFB9B0;SizeAsReceived:9410;Count:49 Received: from AM6PR03MB5170.eurprd03.prod.outlook.com ([fe80::1956:d274:cab3:b4dd]) by AM6PR03MB5170.eurprd03.prod.outlook.com ([fe80::1956:d274:cab3:b4dd%6]) with mapi id 15.20.2835.017; Fri, 20 Mar 2020 20:26:39 +0000 From: Bernd Edlinger Subject: [PATCH v6 08/16] mm: docs: Fix a comment in process_vm_rw_core To: Greg Kroah-Hartman , Kirill Tkhai , "Eric W. Biederman" , Christian Brauner , Kees Cook , Jann Horn , Jonathan Corbet , Alexander Viro , Andrew Morton , Alexey Dobriyan , Thomas Gleixner , Oleg Nesterov , Frederic Weisbecker , Andrei Vagin , Ingo Molnar , "Peter Zijlstra (Intel)" , Yuyang Du , David Hildenbrand , Sebastian Andrzej Siewior , Anshuman Khandual , David Howells , James Morris , Shakeel Butt , Jason Gunthorpe , Christian Kellner , Andrea Arcangeli , Aleksa Sarai , "Dmitry V. Levin" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "stable@vger.kernel.org" , "linux-api@vger.kernel.org" References: <077b63b7-6f5e-aa8e-bf96-a586b481cc46@hotmail.de> Message-ID: Date: Fri, 20 Mar 2020 21:26:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 In-Reply-To: <077b63b7-6f5e-aa8e-bf96-a586b481cc46@hotmail.de> Content-Language: en-US X-ClientProxiedBy: AM0PR01CA0049.eurprd01.prod.exchangelabs.com (2603:10a6:208:e6::26) To AM6PR03MB5170.eurprd03.prod.outlook.com (2603:10a6:20b:ca::23) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.101] (92.77.140.102) by AM0PR01CA0049.eurprd01.prod.exchangelabs.com (2603:10a6:208:e6::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18 via Frontend Transport; Fri, 20 Mar 2020 20:26:36 +0000 X-Microsoft-Original-Message-ID: X-TMN: [O0UoP1nMdDd2i0k6pkmjCcNbj94Yz+BH] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f924e2a5-acd1-4abf-64cf-08d7cd0cfe95 X-MS-TrafficTypeDiagnostic: DB3EUR04HT018: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ttNMwqpPKJ7oLSN5dBuVUAB2u9CorEKrqUptxRV/rLBZ3OB3rpXZ6ZR597xj/G+vbxdF2XuO3BTeC/VBDzBG8N3ZLn/IsqNf7mO2Zdr/tzU/TwNdmfa+X7V5uYteMfW/O4PNaPjN7dp1Ha1N+SBpR0m6HqipIrzUjDvXl3mPS42J9XW9MnmpT0+C6UqjWwWn X-MS-Exchange-AntiSpam-MessageData: QZW+cYFY9AA+5HK1Jm3SX7sdiIKEPys/NsdZrBflDxiAilYyyN2UcQw4c0r5VY+ywf8rCIoxAsCRj8Ia0kxC3m5B/qU1Wm4OHTdQf/SaC6wnMLnXEDtJZkW1DUGOTe69qbztME1y+tHh6FX/I9+6mQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f924e2a5-acd1-4abf-64cf-08d7cd0cfe95 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2020 20:26:39.3578 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3EUR04HT018 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This removes a duplicate "a" in the comment in process_vm_rw_core. Signed-off-by: Bernd Edlinger Reviewed-by: Kees Cook --- mm/process_vm_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c index de41e83..74e957e 100644 --- a/mm/process_vm_access.c +++ b/mm/process_vm_access.c @@ -206,7 +206,7 @@ static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, if (!mm || IS_ERR(mm)) { rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH; /* - * Explicitly map EACCES to EPERM as EPERM is a more a + * Explicitly map EACCES to EPERM as EPERM is a more * appropriate error code for process_vw_readv/writev */ if (rc == -EACCES)