Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp495898lqb; Wed, 29 May 2024 01:49:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoJ5QOjsIubMjN5hUCFbb58BPelqaQ9AsmAkru36yPUDCuatJW3bQBkeSRCQyUxXWq65OmVhdsCG+Pd770cdWZ7jqFc1odZQKMIpGkfg== X-Google-Smtp-Source: AGHT+IFRCE2Eaa79++SwZ9mysDON1JQgmMNmeQZX1FKlIi7xpL3TQeY80l7re2ncFZ/0w9bkQlcW X-Received: by 2002:a17:906:1655:b0:a63:26c1:2792 with SMTP id a640c23a62f3a-a642d95503cmr125338066b.26.1716972541010; Wed, 29 May 2024 01:49:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716972540; cv=pass; d=google.com; s=arc-20160816; b=AC+fjATSJSK1y/k8ea9BefJRzeU3DcGWt3dE3y7MW6sbIijTDM6TMGHX+BGOF0pifO YzADDNDewIpx3YOgdzQ8+1CtK0RjznDcvZfrR8UAdnA2rxh1e/VbmQVQAvamxfLUiWSr wV+RILAHXkiKzcSFjGfnMD/qaVpChmY8gCybJf7GeLN/FEjAjWA11l84AHXeCdZWyl7D ODy2KZzBVP9cHWzvKNmoLsHrSANlbgXu5KOiWm6BVKspg2KmYDFaM4aT7mm/vjNMiojx kWSdotb1PaIFykBpX7/jwp+vS+PWA/vvnRfYyUsVVRM6rCmO4uCgp9WQQ0PopSctaMwb Z8tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=SyPICyLIwuPiunBTmscbTFB4jg6gJxz96UtrCxjPoUE=; fh=bH7be9lyPDTkDyZtFvZn60Vk1BihxUQMVCskYguB/Tc=; b=us0szFBCJ4di2a4IMacN6/mXEujMdJ+LTt+F1fghYcxmpdD7F5IET8o+F97ViBxf8Q iK3K3JVlGcMrwhdiZlhVdyMw5s9jeLdDdCf3BWfuB74F1uQXfciIZeQqtlJJGXBNyDBw L9pnOkmGDb+0xIlXA1vV7tduQ4qZhf3Z9+5oEibKrHm+zgyU8Hum0ALIFotu5Xdu7up4 TU053KYH08iGUZMdEY3ntekT4fguKVDAy6jgR+kXsn6DvVCUZVKjtQmjlxpv3XHQdP/q 3cL8w8iwnb2nodK9TKOfZLgf6bPqQ09d30fLIUka36Ane/+mc3iwJB28QZsDLeeqYQpz 5Caw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jmTKIqID; arc=pass (i=1 spf=pass spfdomain=flex--aliceryhl.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-193759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a634da217cfsi159805166b.33.2024.05.29.01.49.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 01:49:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jmTKIqID; arc=pass (i=1 spf=pass spfdomain=flex--aliceryhl.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-193759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0F7451F252AE for ; Wed, 29 May 2024 08:38:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99E3216937B; Wed, 29 May 2024 08:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="jmTKIqID" Received: from mail-lj1-f201.google.com (mail-lj1-f201.google.com [209.85.208.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B4AF16191E for ; Wed, 29 May 2024 08:34:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971699; cv=none; b=XB1pJcfB8IKoNhTg+5kYztGU8yL8lQLWrLJmiWnwuU0cz38qfW+gvCMQsngrFvFisqCAN7OU/XfsKHQMxkHA5PQB+aX/WMfD5Zq4LkkLzuT0yZdyhn2oYGYH76QhUlr78XzlHvmDsGIQinmo162jHzm46HYJwVgt3pT+LsmWog0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971699; c=relaxed/simple; bh=6X34OVOHAjYoamh2IBvL7SOBIOohi5VHJFdJLDGSzo0=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=HNEGQSeMgaVogpvFoyEZ7O7kNt1YKnaOnE0oHy1aKjCKMgalP0JkRg6qDOVYD7biFWkdXBOCemzy645M03+A/qD8TU7qJMhvwx40wmdO5ETkR3+4J1ui8kVBmUn8STCji5cAe6+SUbbGDry5QGbJzVRVWI8RLsyH2Jp5zSg0zDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=jmTKIqID; arc=none smtp.client-ip=209.85.208.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Received: by mail-lj1-f201.google.com with SMTP id 38308e7fff4ca-2e95ad43650so11595771fa.3 for ; Wed, 29 May 2024 01:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716971696; x=1717576496; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=SyPICyLIwuPiunBTmscbTFB4jg6gJxz96UtrCxjPoUE=; b=jmTKIqIDCHoi0zJd8DXRRx/XgIIt5dy+I9Nrbx4Ca32mabn6wqpoEoSj0JbsJl3R5Q vFas8smU7t+Cxe0He3jEZfruxJLhDyB8FHirbzdvBhpwYUF6HQ63DyeSZmtkD28YJ20L JcjiwVp9OefqEnpSDn9+bgQP0u8FuNr+hQHGjhtgnSAXVoFbxXcf4mG1BmayBSYkaOMf JC+5ubnybNXstrtrz5FslOUVHjDtr4woNOvOzkhmnldDFNshcltYJv8KdyQ8jlPjdoPn s8bw5/A+XyDs8BqAh26Facw8wbP76AjHOzf4WAOmqgdOF3uLGiH3utJx3c7kxuDMAudN wk4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716971696; x=1717576496; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SyPICyLIwuPiunBTmscbTFB4jg6gJxz96UtrCxjPoUE=; b=mhktXbq41uR0qYtZ9iZgc+d+UN6uL5yhCQGUF6bWfdb/66G3m9dEhrXyClkL0PRkyk l62EM+KvBSOC7tjVejZ7gQftVL4+uq59FHwl7vZG7XesemOPXb0Kd1NoAyQ4w4ESgSqP Bn3kgnTeWwAqUs0Bv5c/wIABBQCvrMaA3wnhwYv9OzFSXg18kvynmuNjqN8Lu0JshKkg UYxnjbeJMhmDwTRf6F6nL9fBc0nk5uvLAurpSyMdkclKAjsJL9UoYLEbs6kqzBbuiCfB DcQvlnLGwYXBhrcPHlkffQcqZwWSuS4eTL5KKldWJ8gaQkJuSemicMyL0rFs1RLABGnp lPfQ== X-Forwarded-Encrypted: i=1; AJvYcCXQWi4S2x1c/7zIwfDSIuJjY5iC/hMcUap6F+rPzJXhQik1cftwKVPldAJse0DE3ceJ352KNvq7upkBiSBOGCEM8YRg56+5OEfcmILq X-Gm-Message-State: AOJu0YzYRvtIwWgWjh2FyMf0B2n1Wp857q4jU0xu7B64MlI+kfHQLLam o9wxbDGbLBQTuizIZE5GG6BkvujOsHtqulH6jT0dUJkIuGkdZEqt7fWUQlOEJHuzuP7UpKVuvCY SXGTd3KntbXbOow== X-Received: from aliceryhl2.c.googlers.com ([fda3:e722:ac3:cc00:68:949d:c0a8:572]) (user=aliceryhl job=sendgmr) by 2002:a2e:96d2:0:b0:2e9:5498:9fa8 with SMTP id 38308e7fff4ca-2e95b2d33b1mr131511fa.9.1716971696045; Wed, 29 May 2024 01:34:56 -0700 (PDT) Date: Wed, 29 May 2024 08:34:52 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Developer-Key: i=aliceryhl@google.com; a=openpgp; fpr=49F6C1FAA74960F43A5B86A1EE7A392FDE96209F X-Developer-Signature: v=1; a=openpgp-sha256; l=1023; i=aliceryhl@google.com; h=from:subject; bh=6X34OVOHAjYoamh2IBvL7SOBIOohi5VHJFdJLDGSzo0=; b=owEBbQKS/ZANAwAKAQRYvu5YxjlGAcsmYgBmVufiPdW/kVYB6b4T6Ty+V3m0tft595KyrMtMc +t9z1w3UDyJAjMEAAEKAB0WIQSDkqKUTWQHCvFIvbIEWL7uWMY5RgUCZlbn4gAKCRAEWL7uWMY5 RnhLD/92r3xT22mSgwlA5UwVB19HAeGa6CdkJhuVB3w7aVV3D+B/vePBnXXgvSp9wflDAfNs6Nc wZv3jx2H/n1BGAPeQEqUKUjxQuNV8NNgevIf0nMOsigq1OrCr/ITSWEnzlxuDgC+epEBcmbiRMn dC388gCqrqiM+v/53z7BNOO3IaT3zWHctBFO1y8NKAKQSQDEkR1sM1btL9bjFaWW+nqbfNAIqCa Muh4OvQ0QonmHw53Dgy088YCTJEX94FtHZEyk0zGjuyw3+gBWOf8ZnA054673UVayI32R0C9L1q 5qqy2QY93fO9RE3Uo27Y/AdGR3bTn73ZttNOQECA4S/aMqtU8izaoAmazhXR8LHny++ctXL5aDc Nsl/hXChzD59BjayvShq9OXCi11XcIX16xD+E74tIsPYN8dwek5vXO6o/G2VsKCwyAgo1r9pYHm f9ZY9UhZ6cBCNNrhyfWUaow/8lgR9f9jtEN7uIFhzeMq8q9zKqi/dVZATciIiR0CckZQPg+N/sY ojeGqtiDFB/bu8w3MqNAnJaZWDTHnz0agQjagGfFq/uK/zxLlvjdGleatgaL6AM2To9mF4kOZPG GOyOFfIkMw2Yoj4zY37bKLey4sr6+tPhiJPhd4jhqDopcTMHlftV7LIzH9RHOPRMP3/qbkb6bQs aIZUV41ihGD8/dQ== X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240529083452.779865-1-aliceryhl@google.com> Subject: [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT From: Alice Ryhl To: Miguel Ojeda Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Alice Ryhl Content-Type: text/plain; charset="UTF-8" Fix a typo in alloc.rs by replacing Ror with For. Signed-off-by: Alice Ryhl --- rust/kernel/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index 531b5e471cb1..c44995914f75 100644 --- a/rust/kernel/alloc.rs +++ b/rust/kernel/alloc.rs @@ -66,7 +66,7 @@ pub mod flags { /// The same as [`GFP_KERNEL`], except the allocation is accounted to kmemcg. pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT); - /// Ror kernel allocations that should not stall for direct reclaim, start physical IO or + /// For kernel allocations that should not stall for direct reclaim, start physical IO or /// use any filesystem callback. It is very likely to fail to allocate memory, even for very /// small allocations. pub const GFP_NOWAIT: Flags = Flags(bindings::GFP_NOWAIT); base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 -- 2.45.1.288.g0e0cd299f1-goog