From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C29A738655A for ; Wed, 13 May 2026 02:21:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778638895; cv=none; b=fpUT75+PHPxF9gsxVPfXgO3ikFHdo9SPlNfBfC6KtxFK9AE06oumnLtSN7/cF6OB7DE67qRPKLQ42DVeDE2ogAg/OTuytew3ysRenNDF1BKUm/J6Jn+fVLb1RI15Nb0ZeDzrRLgCb+Rp+VFMQdbkohKI1wvWh5TE/fR1xmmDzIo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778638895; c=relaxed/simple; bh=9VibqiioZlbutzYmdilj+rKd4LXLz/daMOCWH8TZe3s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d8tZylYtnrDYMt3+9h+XNasdTc7JfAMRMksGK+wLULUnFCrhFt3m+jpnjB8cvVYeM3ZpupZOXwUtc60xj2mPcHnftzWdcnPZtLfAZdW/CF1M0xODo8H5T4CRu8dvHR6Z3G4BhlhVd5/aci46ACuuXpXg6/KL2HBdpLdu1aDVxLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pVcqdVUr; arc=none smtp.client-ip=91.218.175.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pVcqdVUr" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1778638890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mAeuDUZY4oa7sPsWfqEpo6uZDXzZyX155Ulp1Mkpt3E=; b=pVcqdVUr4XY/hrzTGZ+iCB+Wa192zZljgm02Eom32RdNPGk11DUgcyBLFqiUc3D2NiLvN9 4BOQqINl2/QBDEVSNyI819L6VMQpQsso6rC3KO5tAI9B4xpN9U1ouH1uu6XeOJYISUV1kJ gfzdYIr/cuURkEfoU6IeBu5n3E8G1gA= From: Ye Liu To: Andrew Morton Cc: Ye Liu , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] tools/mm/page-types: Fix misc bugs Date: Wed, 13 May 2026 10:21:15 +0800 Message-ID: <20260513022120.58033-1-ye.liu@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Ye Liu This series fixes three issues in tools/mm/page-types.c: 1. Fix two typos in madvise() error messages ("madvice" -> "madvise") 2. Fix operator precedence bug in the sigbus handler where the ternary operator binds looser than addition, producing incorrect offset calculation when sigbus_addr is non-NULL 3. Fix --kpageflags option declaration in getopt_long: has_arg should be 1 (required_argument) since the option requires a file path Ye Liu (3): tools/mm/page-types: Fix typo in madvise() error message tools/mm/page-types: Fix ternary operator precedence in sigbus handler tools/mm/page-types: Fix kpageflags option argument in getopt_long tools/mm/page-types.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.43.0