From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 9F656274B53 for ; Mon, 17 Nov 2025 15:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763394055; cv=none; b=EIzb4FHyeTFDLyLRmTrvk1Tf7M5tbT30wFTc1k9as3H9RdMnwHEAQIU0TTgfzurv882kk+qhfHJESNfCG3HQJKLOUKtbgqQ1TE9Gff2dGIdP95wqpZURsCPT1xAAVWY+JSioKenCyf3LkuKsOV/HO8qghNJlDsgqtFebNdXmfrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763394055; c=relaxed/simple; bh=DlBhTiswiQCLi6nwOX+eLql3KOtUeS880gdNLeXC16U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b3OWbz9uleXcwLXcdhFyrWcLS54ocATRacG+wY0Ya+hwFRkugf8x0OiLNI+WwfKDxEB5qd+MpNC/k3PhyLMIiBgCIf88vWGjBtCvz9LJsVVNNYxQF7652dINI/aRHt210gdrYQfBAgs5dAoUpODJAGuJ1sSp/4F/1BHfjRgVAWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=N7A240Mz; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N7A240Mz" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2958db8ae4fso40941665ad.2 for ; Mon, 17 Nov 2025 07:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763394053; x=1763998853; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5U0JdcXFT4piWxgb5tZGsXwJdCzE395g5AsJI2GGFWY=; b=N7A240MzMFzBIK/6FQGtLJ/YwO3BJNOIHjU/z57g9SQzBANgv2QkPKLPPWUgZCUYyz SKv7cPe753hvDyQlq36ttIK5kPfVzBO3qRAitWclDfTnyiKKxfKaUcDYLXtTuprYlxlT EJsqzVJa/PxnBl7aY2YjsneUnXz0ioFJvgGv7zMAZL3hcG4bI8d/ZDywJkO0dpCCQ5wi WgFE2jEQ9BL4URWIkcBbcarFTWvjk45dcGQKQzEmmVN+spPNYv2yTefZpIz1u7TFqkbc evLAWLhnF56BdO8RJs8xfD4ah2lmm1u3ICigf4OcKZMJicRdlYAdlqi6AW05u5zxWQxV OnPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763394053; x=1763998853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5U0JdcXFT4piWxgb5tZGsXwJdCzE395g5AsJI2GGFWY=; b=neSQeVDsWoYFJBOeP/f4xa7YGis3kGjY22MaHmUVsYJXVI6IN6f8Mvu++okbHqVplr Emq/dysEzZiNV44iKzrF7I5gSmOWZBclZ5oiXH5N2t2j7xF5t9ocW30+wN4hzbgBZ3WI zCuCz6R+2qlac+DWdzb8Ad1L7AhJu7ePweholB2efrwPJ0sXuMD+ajJGf922Kxjqf8Ih /ClcMVSTe8bmvGF2Dyfyp8umX5miRHXmarJj3VQsTnqC5UD8NLHbDNf3hecIiM9IEXYV wDVxjScZBMRKYgrQBFVKciexXVZxL7+dheeDE35r4dMnhARDmllBuGAIqYKNNbY8N6bU dzIQ== X-Forwarded-Encrypted: i=1; AJvYcCWAWvik4VHoLO8bdCPbLlt4WOych26m5tKa6LlVEaBh2znotPg5uMaLcd42H6PM5Weh+BAKnCZ2XZeajDI=@vger.kernel.org X-Gm-Message-State: AOJu0YzKdGX1EQ0aotUrrM9NhzNar5ail+CvgrbVFwqYn2xsL/m4wIod yfIVlFVW9H2l6dwkXXhGsqAJazNJof9bdt3rDtg+hlcXGdfx+QtmWdna X-Gm-Gg: ASbGncuq94g4z+TgXbefzBPNIg70VTdySO4AH3gLUD/5HqtlOXzoNSJWDe9BRfg4N+P 781Xunl98CKCT9UZBvOZ71+fakkEaMgxjAuxNNxzqDkKHSx8R+pkFNpeJ96NpLvjO7FphmtQW/J xekn+Y7kxnsI+UfxQCsEqoohXmEUi1EFm97C45k79eb5/VmU8SpiZLaUP13qnE9jxWJqsqO7psV VCYCEZ5qFfA9MAFUPSnWObgTgvt+XiOKIDIVfwM4uvk4YcKRKEBcT1UmvxzV+PGEAJFuzvW0ICn l8qpThCfvE7kZW6bPRPoN4Ya177iB9cidP/KXV1HJKZWjgD07pvtmn2gCXJB4rGW1OGbYB74Eao z0qhHmESof/2NGiNQxUKLuX9zy6ddcQYoNBmsh3k0D9LsUz0= X-Google-Smtp-Source: AGHT+IG94GWUfo1tU4nyNmfuFRJx73Acx0EtwkoRss7I8Jkn89BKQuLHaUxf6oFUW0up/oVo8FeZ8g== X-Received: by 2002:a17:903:3b8e:b0:298:485d:557d with SMTP id d9443c01a7336-2986a752869mr156594135ad.45.1763394052926; Mon, 17 Nov 2025 07:40:52 -0800 (PST) Received: from gmail.com ([117.147.72.154]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-299daf12fe9sm51167715ad.74.2025.11.17.07.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Nov 2025 07:40:51 -0800 (PST) From: Peng Li X-Google-Original-From: Peng Li To: linux-mm@kvack.org, akpm@linux-foundation.org Cc: david@redhat.com, osalvador@suse.de, jgg@ziepe.ca, jhubbard@nvidia.com, peterx@redhat.com, linux-kernel@vger.kernel.org, dan.j.williams@intel.com, Peng Li , David Hildenbrand Subject: [PATCH v3 2/2] selftests/mm: gup_test: fix comment regarding origin of FOLL_WRITE Date: Mon, 17 Nov 2025 23:40:12 +0800 Message-ID: <20251117154012.197499-2-peng8420.li@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251117154012.197499-1-peng8420.li@gmail.com> References: <20251117154012.197499-1-peng8420.li@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Peng Li The 'FOLL_WRITE' of the copied source is located in mm_types.h of mm, not mm.h, so fix it. Signed-off-by: Peng Li Reviewed-by: John Hubbard Reviewed-by: David Hildenbrand (Red Hat) --- tools/testing/selftests/mm/gup_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/gup_test.c b/tools/testing/selftests/mm/gup_test.c index 75f7134d529d..40c1538a17b4 100644 --- a/tools/testing/selftests/mm/gup_test.c +++ b/tools/testing/selftests/mm/gup_test.c @@ -17,7 +17,7 @@ #define MB (1UL << 20) -/* Just the flags we need, copied from mm.h: */ +/* Just the flags we need, copied from the kernel internals. */ #define FOLL_WRITE 0x01 /* check pte is writable */ #define GUP_TEST_FILE "/sys/kernel/debug/gup_test" -- 2.43.0