From patchwork Tue Apr 16 22:09:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Xu X-Patchwork-Id: 13632656 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 DC553C4345F for ; Tue, 16 Apr 2024 22:10:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2BAFD6B009A; Tue, 16 Apr 2024 18:10:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 26B056B009C; Tue, 16 Apr 2024 18:10:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 10B986B009D; Tue, 16 Apr 2024 18:10:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id E38216B009A for ; Tue, 16 Apr 2024 18:10:11 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 1B14AC0C96 for ; Tue, 16 Apr 2024 22:10:10 +0000 (UTC) X-FDA: 82016788980.30.9B05F80 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by imf08.hostedemail.com (Postfix) with ESMTP id 5166E16000E for ; Tue, 16 Apr 2024 22:10:07 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b="BTQ/260m"; spf=pass (imf08.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.215.176 as permitted sender) smtp.mailfrom=jeffxu@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1713305407; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; b=yH31f8UhRk9ZXQ3HWD+EOGIZJZLEMAwZFs6i+zdz+FlqQwAwq4pYoQBDvukvDZHXGpfCDF 3lbi4rSALP08KXMRsh6XDTUwH5yQucACFbYtevUAlxl83Zqt/1UrJkCY2fXbRzEVt7Za78 FNoFMYBU3bgJ4lIdEWOOHisKy+mNAR8= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b="BTQ/260m"; spf=pass (imf08.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.215.176 as permitted sender) smtp.mailfrom=jeffxu@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1713305407; a=rsa-sha256; cv=none; b=LM9UmiSvSYvuUV/IXjKq7M3Q1/gD9SqT5/tMVvT9GgQT/Wm2aJJRYAKdLxdxN12oblD0I+ sd1hJ7ZG6/lNiU7oF38bvF4lML8oQh2+C0ED1kSOdXTh2wjtP1DB+kaQULCw8sUuybeDjK eCfFzLSyrnU7pMVLYLfrTxvZ74c3TAs= Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5cddc5455aeso3437502a12.1 for ; Tue, 16 Apr 2024 15:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713305406; x=1713910206; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; b=BTQ/260mO3HfReYrHHDPkRb3tu1vS0nrCWAZmjoRd00iSOrJPKzZ9Ey12iBY3hP/kF CbN2rNUsi8d+g5iSgyrWKE39Ejqhn4OkS0kTeG/PdCvaqva8kTGdFI03LKfH1DUtLd8B CxaXQTJgmV/T0H4/L8ZCqmHeJI8lqoBvOCJ8Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713305406; x=1713910206; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; b=eU8NwRslIRbzeGcrs08HA/s7Q9llHjPc8X9OEN9MeUUGXov/+sqP3HMZ5cultCsEaM vGvTFfpISfSw2X2JuInoje3X3XhGIEH/KJdMrxymXkOuCfKXVeesSmODgnWPhwd5y2u1 f0jLPhrEpT0j3IZxwHNrrhgsRFUuynAld8ueq+wJbdr32W282TtbeRgufWob3wo6Ssus uFpI5kObWdwjGcXRSaCS3OSE7Z5p6IuckQm+2jlTz805o96voJml5j+ZaFZDRsf9H969 FTv1Aj5xzu/PCHWBegAVMt/vlQy/adEg755icAfIOxKrge4ECIJ2D86rFeWZRp6QzicS Yo4A== X-Forwarded-Encrypted: i=1; AJvYcCUzGaxELXm/yMAcEdxij7Q68pgdgAo3sy2jQcAaEVBQA5VtXo0uea2XHlYS0e/zmfsvU1URd6HTksl5Rb97ftUr/tw= X-Gm-Message-State: AOJu0YxSyeknYJUYZ5Jrqx0/GGNRM/zwxPLRulYBhPwuFEZfpRmTQTP4 2ccmCKxvf88eUg+6JaxuFUwdeLB+gBNsH3Td2uAt3A0TegO8kUvp0JuxmGRG7Q== X-Google-Smtp-Source: AGHT+IFXzTOtdhmzkFf7kvRjs/2yOBCu6yaN7ivsHMPoTYcwF1gpR1l+bDIYrHHeInvIb0cUfNNPvg== X-Received: by 2002:a05:6a20:9f86:b0:1a9:db37:bef3 with SMTP id mm6-20020a056a209f8600b001a9db37bef3mr8840834pzb.12.1713305406053; Tue, 16 Apr 2024 15:10:06 -0700 (PDT) Received: from localhost (15.4.198.104.bc.googleusercontent.com. [104.198.4.15]) by smtp.gmail.com with UTF8SMTPSA id q4-20020a656244000000b005dc4fc80b21sm8032266pgv.70.2024.04.16.15.10.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Apr 2024 15:10:05 -0700 (PDT) From: jeffxu@chromium.org To: akpm@linux-foundation.org, keescook@chromium.org, usama.anjum@collabora.com Cc: jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, jannh@google.com, sroettger@google.com, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, deraadt@openbsd.org, corbet@lwn.net, Liam.Howlett@oracle.com, surenb@google.com, merimus@google.com, rdunlap@infradead.org, Jeff Xu Subject: [PATCH 0/1] selftest mm/mseal: style change Date: Tue, 16 Apr 2024 22:09:43 +0000 Message-ID: <20240416220944.2481203-1-jeffxu@chromium.org> X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog MIME-Version: 1.0 X-Stat-Signature: 1rsoq6ocmkped9yhyn4rg6d6x6icig9d X-Rspamd-Queue-Id: 5166E16000E X-Rspamd-Server: rspam10 X-Rspam-User: X-HE-Tag: 1713305407-68755 X-HE-Meta: U2FsdGVkX18NjLk7yahu4Qc/HMnQzDG9y/u4W5n/7LGzYbEGW3hMjNI6FXRDDQS5zBT+uaJBxLKDj+ZL62K4p7jC0Yf+P7pmCjpV55SEfEPGrEPzxVJKqeXB1uPH01Sfsy5j2xIWAWrxvbtALyvjza30VuhwOZr2rkYCKQCrRrouUa9ydXianpnKEkW8eObiGQAP4909Sxi8E5u24GKCp7kMKxMn6t7JUqPS63NoYWEA3WZ3nrhGd4/brSaLYJpOEguIw/LGLQlS/59b2mXxHRK5khdDsE5UnHzJ77OHMuhpEQZYrnFi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QCGFzsyX+BRfKPZHdpQPRhoqUJNsDwSme3VG8HOkzWPunzpYmqg8oY6h+oVHebZuFlBtjp4i9GhfM2kNWMaWP191eZYG2U3M6pgg7eO2jifcCORAkB8n4RH8QruCEH/CXktTMBgZFECDX6yf0K6+D6ZNUkqEjM= 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: List-Subscribe: List-Unsubscribe: From: Jeff Xu This patch is a follow up to the comments [1] on test code during mseal discussion. This is style only change to the selftest code, not to test code logic. Please apply on top of mseal v10 patch [2] [1] https://lore.kernel.org/all/e1744539-a843-468a-9101-ce7a08669394@collabora.com/ [2] https://lore.kernel.org/all/20240415163527.626541-1-jeffxu@chromium.org/ Thanks Jeff Xu (1): selftest mm/mseal: style change tools/testing/selftests/mm/mseal_test.c | 124 +++++++++++++++++------- tools/testing/selftests/mm/seal_elf.c | 3 - 2 files changed, 91 insertions(+), 36 deletions(-)