Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp446017rdh; Tue, 19 Dec 2023 04:02:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWUu9dQmVRAtQxN5J0W2k0N3pqfrsiXV2To4uSgNcDa4JfxIfMW3tHiPaCQm1OcncrwwO5 X-Received: by 2002:a05:6e02:174a:b0:35d:5995:1d71 with SMTP id y10-20020a056e02174a00b0035d59951d71mr31622352ill.54.1702987332135; Tue, 19 Dec 2023 04:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702987332; cv=none; d=google.com; s=arc-20160816; b=L+8haS7kK5kCJu22Kpvt3gq24i8k8Ojqc7HnAITHij2M3uCJ2Sb0MJIsx/TpeqJtj/ b3rmHK8eA3KXffx5QV7UR+ac0c0rtBv1dznJOzia9DUc2nMBqapBgqba4swnLslp7glD xtvEoIn8b9BmmG9VTe06589CljPOZPC839Br1TBi0n7uIEdNekTmDtYxfO1pVoB9i1Uo jwGO+92xkdueREZqRXktc8SyLW1IQ1hmYgfW4jAqmwIBEWkNMIxXPTB4IhsBiI7Fc1Y+ aFax3+Uks+rTbLeTjAN7Fe4EQjzpoZiMgclYbhd8Mbn6LbmfIhX55s82HLBd/L+cNlJo Zpbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cooP47dsxpog25jN8XpHA77hQS+iE+Nw/rSl+/2xC90=; fh=Px5FU+/1wKE890Z5GTpqxABAIVSxVhNtxERDthTPCGg=; b=Xb8yWTzBb8HeaYO1cvJl/WIrAHQO9V9HL5CJamY1puCxYxd9yfZ/KubkCBSBrw3xgn 5FW0ANtpoXZM7Pnd2AMyq0RhGGuvyg2EZkTWRDNSffGP4pUcPMOrjno19gVcc0LPf0R9 75OIDaNlFKzccRU9PKyzkURh+JENbowZ9PMEoJjS+rGUGMD/QFJGhpPP35/16h2B/Edh Jbr/02GlVKQjXsIwP3U8to5XeFatC9Yk9F8CUOM14634nosLk5uqrgbSh+sqLQNALnQH tLsgrgiI2hMGO4Q8kgyj8c2vKY1kAfANCdgAT+XLnST5cDiV4GEz/2NCx4169vOO0io4 R6cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=pD+ybuFa; spf=pass (google.com: domain of linux-kernel+bounces-5131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gnuweeb.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b8-20020a6541c8000000b005c626072edfsi18861004pgq.773.2023.12.19.04.02.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 04:02:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=pD+ybuFa; spf=pass (google.com: domain of linux-kernel+bounces-5131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gnuweeb.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BDC7FB2334D for ; Tue, 19 Dec 2023 12:01:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A8EA18EB2; Tue, 19 Dec 2023 12:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gnuweeb.org header.i=@gnuweeb.org header.b="pD+ybuFa" X-Original-To: linux-kernel@vger.kernel.org Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) (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 5294618E15; Tue, 19 Dec 2023 12:00:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gnuweeb.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gnuweeb.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1702986877; bh=6y7QcMNqdf/KzxtBMRwl6JBNpcXBvZAGKI4OW6AiOww=; h=From:To:Cc:Subject:Date; b=pD+ybuFaLCHla+Xm8wAgMyEK5gI/x5SO96VdrCCQ/4lOTx/nw8I/t1HxZ5pk9CXuT YVz1SR6nR9AImqcJWVILoePxd3wsaW36909Cgh8fkpmMs6dqa75fHKccbXrsASRCoU 5MV6dbpPUQ0FUOrKwFD0bBCYjM/14C8w2wQlYJH3vQDkJxK5V7Kp5VSUHz3iQfQv/P EsRS9w18Xb/Ype+DNYcctNnE+lkPWHSDqF57feR3Kul4GcGFD6iZ2BvHUPbDrF6aJL zu6eZR1heA06QblvA3ElBTaHvI9ZbtGx5Atn9zGIF3BMpURulPF3MVlcNy37I6x+AZ z5HG1iLqpA4cw== Received: from localhost.localdomain (unknown [182.253.230.19]) by gnuweeb.org (Postfix) with ESMTPSA id 1D1C724C190; Tue, 19 Dec 2023 18:54:33 +0700 (WIB) From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Michael William Jonathan , io-uring Mailing List , Linux Kernel Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v1 0/2] Makefile and t/no-mmap-inval updates Date: Tue, 19 Dec 2023 18:54:21 +0700 Message-Id: <20231219115423.222134-1-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Jens, There are two patches in this series: 1. Makefile: Remove the `partcheck` target. Remove the `partcheck` target because it has remained unused for nearly four years, and the associated TODO comment has not been actioned since its introduction in commit: b57dbc2d308a849 ("configure/Makefile: introduce libdevdir defaults to $(libdir)") 2. t/no-mmap-inval: Replace `valloc()` with `t_posix_memalign()`. Address the limitations of valloc(). This function, which is primarily used for allocating page-aligned memory, is not only absent in some systems but is also marked as obsolete according to the `man 3 valloc`. Replace valloc() with t_posix_memalign() to fix the following build error: no-mmap-inval.c:28:56: warning: call to undeclared function 'valloc'; ISO C99 and \ later do not support implicit function declarations [-Wimplicit-function-declaration] p.cq_off.user_addr = (unsigned long long) (uintptr_t) valloc(8192); ^ 1 warning generated. ld.lld: error: undefined symbol: valloc >>> referenced by no-mmap-inval.c:28 >>> /tmp/no-mmap-inval-ea16a2.o:(main) >>> did you mean: calloc >>> defined in: /system/lib64/libc.so clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:239: no-mmap-inval.t] Error 1 Signed-off-by: Ammar Faizi --- Ammar Faizi (2): Makefile: Remove the `partcheck` target t/no-mmap-inval: Replace `valloc()` with `t_posix_memalign()` Makefile | 3 --- test/no-mmap-inval.c | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) base-commit: bbd27495d302856b1f28d64b346d3ad80be3a86f -- Ammar Faizi