From patchwork Mon Oct 28 23:30:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13854264 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 E92D9D5B845 for ; Mon, 28 Oct 2024 23:31:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 074096B00AC; Mon, 28 Oct 2024 19:31:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F37276B00B6; Mon, 28 Oct 2024 19:31:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D61666B00BC; Mon, 28 Oct 2024 19:31:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id AAB5F6B00AC for ; Mon, 28 Oct 2024 19:31:09 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 6D8E4ABEBC for ; Mon, 28 Oct 2024 23:31:09 +0000 (UTC) X-FDA: 82724607882.07.74BC84F Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf25.hostedemail.com (Postfix) with ESMTP id C4001A000F for ; Mon, 28 Oct 2024 23:30:50 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NpdF1Lj4; spf=pass (imf25.hostedemail.com: domain of sj@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730158213; 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:in-reply-to:references:references:dkim-signature; bh=SchRSC6QncpDsvbMn4/m4FX+LTNTddBWgP09wD8XNus=; b=Ps5FIA6w8u/3ojjhPu7v9TUaN0pYyFX0qOP13+VrWaotmLEeerzPGP3sfcLU0qI4DZVM4N HKXdrlXWOrZ/UJ2zk/k1mHdTxQMjZ1nV/74rl96ko/zp7j7o6rMSPTcfCcoYcoiFr44bLT HftOjjygeYzxvlu6z9bdSz54rMCdR0o= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NpdF1Lj4; spf=pass (imf25.hostedemail.com: domain of sj@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730158213; a=rsa-sha256; cv=none; b=MwD3Ws+A7P7W4QxAT9JcOAWqWFDkj2LjZSnGcuYjFLtEM6oj+8T3bgzq7f6h0LKWXsplzU 3ID4fRxLCbyIbP2Q5VyGNSs75plYNZmCFLD/B16LKlq7rhlQP74puxtW/9GKEZiQMlw+PN m7IBkf6mkok+Y7MkCERrKS/pSriRrDk= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 394E1A40383; Mon, 28 Oct 2024 23:29:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE927C4CECD; Mon, 28 Oct 2024 23:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730158267; bh=Tz1euKeLhAv1xTDlsiqA1CCZcickPPUxLivT0TlTmQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NpdF1Lj4Ndp+hvLd7xi9O9qwck4CoX0revSy9cte2xCnHNUe1ndQq+k53JVl+N9YC iQlsh0qgP669v1k3t8TSBWzqVSYNv2QzWjNvJQ/vQ3z3icD/VR/D7/9yZzfguO6rto /XhEgkkgLP/zamw/HeUQw/zeABV0wx5MMgE1YDHNwX2jOMYOvmlzBt5mC8mksgifSv LLT+9Ucj/K6atrw4EwHVMePDuA++CxdfUE16fVkFQ+IobkVW2mb2cXN32zIqR9ZwZM qFKq1BcWI3Qb65I3v7qIP+fRrKPxOzOMyak2P/8C/PjS09SVeRekNydVtQtGsHnan1 se12KhQMPjOcQ== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Shuah Khan , damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] selftests/damon/huge_count_read_write: remove unnecessary debugging message Date: Mon, 28 Oct 2024 16:30:54 -0700 Message-Id: <20241028233058.283381-3-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241028233058.283381-1-sj@kernel.org> References: <20241028233058.283381-1-sj@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: d6xd8be7q44nk87bgqskf141xhd9yak5 X-Rspamd-Queue-Id: C4001A000F X-Rspamd-Server: rspam11 X-HE-Tag: 1730158250-800384 X-HE-Meta: U2FsdGVkX19MZAW2ICvcVfXCsxwtURj8uCgv+o516z7CphXOkJjPtgZH3AqwH3SVtRt8xorQ9kEanwBdu6XroM4e9EzrN7Qq4z+LwLdIS5ODLKRRWIwUUeyzD2jnXSM9FF0DRlx5Wo2aqEkRokrkM8pjnTpuEtds0BV2vbwKd3dGzYOUJI2FesS29NCBupzyXgVxHAnnsBF6+bBKeG17Ad6FP9LGGlhZN1kapMugxWUgwFqfSv450q969ZBJ5E5uC4XnB1U5GZ6GDlDc8h0piK+Lpg8WUkoYXE2b63LMYO2pyJU66mLkn9MeNI8eENuLsi99W/7ET2FYmYjS/mMgZJ/iGqn4LgsBiQJCSHWFxc/Zg/FzBua7f3IwAlA0fuKpLQf9rz6UBBwsA40DLvStyvhj+CzuQAA+htEkIVBt4BTY8pOGWTsgF9TeZmXKYhP7q0XfEh1W/KWgpXZXX8v+cnuNce30dVU4wR8scLjxQd+HxzrwBDelPJR0v4HPiy5XKT8kiWiGS/I50HqcRrceKMxorf87E2AXvpP3CsbcVCkqrDX12m4V5gDEMYtsJQuuBuYVh/nOhnT4Sw8nSMaHLTmf7MWWC+9M5OJADzTQG+6PaGq9cZW7Gcj1W3zFHD/TIjWQZp83iP7wVRIi73gfhXiNL0rQv7Fkl5q5UYYc7BFSBpTxiyD/N6bntLhFKGHm6TN9rK98N5Mk3Os9qY3DtvDinV7ouCaFVl2tD65V4uKSSxbTfOeJx9J7KiquX/T9oM3RF8tmR/XQVDHUDzHH6j1tqQS76UNVPS1dVaCCIwDDpZitIvI5fmYjL5UqQsjlJDmgNbghOLIf7gbQds0xOmc6r1pAy9xaW0S7qp//4DaBMYKGJC62R+1DJlBkLqiwVxN4J1bPFrJELtu7HvRIznQMShlx8TtsHQst8+CDm0MaWmgS0pwlCKXK8Jl3RjBUPuSkN7H8u2rz/rZ4U8s QNeynF22 BvmYBxbyRaBqcLLmrEMXZMJI/xvtAVXvXgg0cnbT6Fjo0G9myqcQvui8P9Lb1WPGVHirZgO0wWMhYDzfUVxgvF11488OGdHaRbywCvpVwdonzDNCnA6872hcBciPBvKZbGpJrbeiAnqgadyz9x4TWWn+b2gv6Ci3RKn/IRqO3d7UU32BvCCcBjfEODNHfmtsrtCBIMY0lULYM7prQbLXYhsqS2aUBcMkQQNUxgZDfjLTUov7O8I4GlD8Axjgqrl3G6tHxOcK7CCfkM5FyP5e0azwWiA== 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: The program prints expected errors from write/read of the files with invalid huge count, for only debugging purpose. It is only making the output noisy. Remove those. Fixes: b4a002889d24 ("selftests/damon: test debugfs file reads/writes with huge count") Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/huge_count_read_write.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/damon/huge_count_read_write.c b/tools/testing/selftests/damon/huge_count_read_write.c index f3c199dc8eba..53e69a669668 100644 --- a/tools/testing/selftests/damon/huge_count_read_write.c +++ b/tools/testing/selftests/damon/huge_count_read_write.c @@ -28,9 +28,7 @@ void write_read_with_huge_count(char *file) } write(filedesc, "", 0xfffffffful); - perror("after write: "); ret = read(filedesc, buf, 0xfffffffful); - perror("after read: "); close(filedesc); }