From patchwork Fri Oct 7 11:37:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rolf Eike Beer X-Patchwork-Id: 13001016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00002C433FE for ; Fri, 7 Oct 2022 11:37:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1BD6B6B0072; Fri, 7 Oct 2022 07:37:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 16D556B0073; Fri, 7 Oct 2022 07:37:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 037716B0074; Fri, 7 Oct 2022 07:37:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E58EC6B0072 for ; Fri, 7 Oct 2022 07:37:45 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id BBE41AB567 for ; Fri, 7 Oct 2022 11:37:45 +0000 (UTC) X-FDA: 79993953690.26.4CF35E9 Received: from mx1.emlix.com (mx1.emlix.com [136.243.223.33]) by imf14.hostedemail.com (Postfix) with ESMTP id 45AA0100013 for ; Fri, 7 Oct 2022 11:37:44 +0000 (UTC) Received: from mailer.emlix.com (unknown [81.20.119.6]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id 6F5205FD3A; Fri, 7 Oct 2022 13:37:42 +0200 (CEST) From: Rolf Eike Beer To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: fix typo in struct vm_operations_struct comments Date: Fri, 07 Oct 2022 13:37:41 +0200 Message-ID: <2385684.8vm7BOzihM@mobilepool36.emlix.com> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665142664; a=rsa-sha256; cv=none; b=tLw4i8uDiifOD3X5f1AG5zBQN662Pmv1m/vp34xY5oce9U+L2fG3ezmhJPA94G4nUyN4ZO cslCggyuaHnQjv7DOkdCGOpVhFEK5QTEm1meA8u1jFdHbDwy27GBYAWrKdxXFFndozb6rY VC1dKpwGyPgT9pa47m7/DUAjk07XWfU= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf14.hostedemail.com: domain of eb@emlix.com designates 136.243.223.33 as permitted sender) smtp.mailfrom=eb@emlix.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665142664; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=PKfojeiHWSgbhr3L7f7PVLMRwXMy33UMtBvPpx+Xt3o=; b=3u7zyQV6rFeqjZjWDdg8boIuqtBFvTUfo5CQluKAw5SNIu45Aq2SHzcWBop/2zgwqhKO59 jGMrj/PD2u42geTb1NHiJY4GIU+w4mDZ+lw8/vvHkvslRNX93rWVlut31fZv6XPclP/di8 M0YMvEEt8/G2aqf1onhTooFY5uiGyyo= Authentication-Results: imf14.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf14.hostedemail.com: domain of eb@emlix.com designates 136.243.223.33 as permitted sender) smtp.mailfrom=eb@emlix.com X-Rspam-User: X-Stat-Signature: hwqmbfmb5bn37k1y7pa78xm3yqujnibj X-Rspamd-Queue-Id: 45AA0100013 X-Rspamd-Server: rspam07 X-HE-Tag: 1665142664-774802 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: There is no eprotect(), so I assume this is about mprotect(). Signed-off-by: Rolf Eike Beer --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 21f8b27bd9fd..c9d248c11d69 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -549,7 +549,7 @@ struct vm_operations_struct { /* * Called by mprotect() to make driver-specific permission * checks before mprotect() is finalised. The VMA must not - * be modified. Returns 0 if eprotect() can proceed. + * be modified. Returns 0 if mprotect() can proceed. */ int (*mprotect)(struct vm_area_struct *vma, unsigned long start, unsigned long end, unsigned long newflags);