From patchwork Fri Mar 29 17:42:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13610893 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 9FBD2C6FD1F for ; Fri, 29 Mar 2024 17:43:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D1BDF6B0087; Fri, 29 Mar 2024 13:43:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CCB8B6B0089; Fri, 29 Mar 2024 13:43:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B93D36B008A; Fri, 29 Mar 2024 13:43:19 -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 9CC8D6B0087 for ; Fri, 29 Mar 2024 13:43:19 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 5537B1C12CE for ; Fri, 29 Mar 2024 17:43:19 +0000 (UTC) X-FDA: 81950798118.15.C6FA70F Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) by imf03.hostedemail.com (Postfix) with ESMTP id 75F522000E for ; Fri, 29 Mar 2024 17:43:17 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=09ptgaBG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf03.hostedemail.com: domain of 3s_0GZgYKCAIgfnkcyiqqing.eqonkpwz-oomxcem.qti@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3s_0GZgYKCAIgfnkcyiqqing.eqonkpwz-oomxcem.qti@flex--edliaw.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711734197; a=rsa-sha256; cv=none; b=GosI/nsbycxkcglq3rfvKHqLKszLembvcq84RiBlW5tgH15p4xPgwXjhhcHeKroB9yKhf6 VCxblL7qzcGsjIYUmRRGMig/4j90y6+IShY3BZ81ULEKZx+DTdC7/wIDsqEvnzDNklzqRE CWC0fs3NAvtqbX4WN+yE7AdPZH+iQSE= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=09ptgaBG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf03.hostedemail.com: domain of 3s_0GZgYKCAIgfnkcyiqqing.eqonkpwz-oomxcem.qti@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3s_0GZgYKCAIgfnkcyiqqing.eqonkpwz-oomxcem.qti@flex--edliaw.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711734197; 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-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=Y4P2FVE0GZuV8xN0/OHVBz5dTMWkMVwFfht6IsCHyUY=; b=fM2YxtrT+VyGBYIl3Q2+hZhdG7KeIV09ROeI1grEcoteHLVMBfm2eDjQK2KNyND4pJQ1c/ n9yrmLK0o4YmGT/Psm4vyClSbEtbd5P+oawskWT4uSL+SXd3nKFJBgHjo9lvLodiA9+BiF p5Gn28yqHEPZfb4NlzC5ONHIpeXsjlM= Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-5c5c8ef7d0dso1632854a12.2 for ; Fri, 29 Mar 2024 10:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711734196; x=1712338996; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=Y4P2FVE0GZuV8xN0/OHVBz5dTMWkMVwFfht6IsCHyUY=; b=09ptgaBGyUN+BoTKJBXglNH5AYebOlNonUDjSAT6V/0sQuc+C6rJLAPP4M4tivgZrs 9uAwH104rxVfkrkWnQk4Dfxr38tHG/HOJu4L9NLiYE+jWh1ctuPkmaN2AjTFbYh5Zvpp xFr8fjk+KMRPay9vu7FuPy0R8O6tsRJJGiH/uVGNR+rY3hkboAFp34RAZHsk2XbllqOM n6YU7HzyRtl22aieFk2jFLYB3qlPPBhv+5xKdmBwhD/vDS5oGV0g88ltVPTafNxgxl9W UhAw8vPkAaPcrT639UvkSnH0XmbDauYh6UuVy4BR8SjriGZpzT54r8rpiAbCXmOGv0/g ICHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711734196; x=1712338996; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Y4P2FVE0GZuV8xN0/OHVBz5dTMWkMVwFfht6IsCHyUY=; b=njyH7Iub967VYqgQuAfz7Wj4726j5Qt/l1hvL/ppRKDMH4QiX+7KgrUNNW/iSqNktL gTj0hnB5u91e4+F1n0ffSaI4bniHB7TzA7kSTIxNXwy8f10M9f0lyxiSYfS/F7vl3c05 jFKdknP9cB+ULx3lOYm9FWHnT/ZNZVNwIM6hVX+WneKdaX8UbjzGN+vijThjCZRhCInD nJGCE4ZN2Z/UiniIyUCNsMS3KSRwoWIPGEVFn9sXsBkvuozl1dDvh7hPNKRFMVj5h1Dz dzEix+7sUqhTZO9WTSy9bwuqKjBiBlIPy+15+LOntA9LJWoIAWpS26pmUko5p0SsCste ILSg== X-Forwarded-Encrypted: i=1; AJvYcCVWI3cOwLPVdzE2VP7ErsFX5H4Mt0FO/2zJtnP46uVeoW1+iFW8Q0j/Uyrf+zilig3UFab9QDRP60d8qz8ZRtWISHE= X-Gm-Message-State: AOJu0YznTz8qPBSPOmajcIqBAqbawh0yEkGX25+Wedd/UD2JWs2HfFOb QVYNIwboniDYTa0Els/MbFqE6kcXkbaC/CtEYL1RaCvSTVBiZYadQM+PZbHu2tlyku0kZ/eeWGl JDw== X-Google-Smtp-Source: AGHT+IEk3daVAOxTw6ZxgVuNe0bbBjzztiCGBF5zYuViJhnrfrxtU4S3QA/1YszNBdzc0L46hiha467222c= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a65:4388:0:b0:5dc:8af0:ca81 with SMTP id m8-20020a654388000000b005dc8af0ca81mr7467pgp.7.1711734195797; Fri, 29 Mar 2024 10:43:15 -0700 (PDT) Date: Fri, 29 Mar 2024 17:42:34 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240329174236.2278217-1-edliaw@google.com> Subject: [PATCH] selftests/mm: import strings.h for ffsl From: Edward Liaw To: linux-kernel@vger.kernel.org, Andrew Morton , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Peter Xu , David Hildenbrand , "Mike Rapoport (IBM)" , Axel Rasmussen Cc: linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-mm@kvack.org, llvm@lists.linux.dev X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 75F522000E X-Stat-Signature: 594pzuskiawm8up48pnweqqb55zu31of X-HE-Tag: 1711734197-568253 X-HE-Meta: U2FsdGVkX19YYzZ/1QI6TGC85pQnmaoUuAoWNm/ZEzAvQRdMQGUY+DRcXD9r3JT9ybphMl2zplnLIxaAlakAvd3H0x9J4rWWpP1UTRRBnXmsRr490Wzkcaee2pSqwQY0NXHDDtCuDLT3OCMw7uccWaOEwk29pNTGL6hXAL/BIjdTwFwULKX1yYknA3st0mMJ/reKP/8T41gXUJhwmoxpL1Q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PhzK40Gq1JSP6PJRN+fudnD3KPvaeD1bvFvBAE1ZLp/kv2RVoorxBZYCFUmySrwl9bkqSmiZuZ9xBJx5sQumRo3wJ2CA9kIdfMGyNPciIv1AsRhaMqf/fnczK19E/Y/jnDnpyho8S22LkIQuEMVRQzhOkP+168ehddO8H+WqvJAnevPpIUOTePKtnah1cLwPKkhi9TfhrUqoNW3xLp2uN42xiWu4JL0dTH6MMjhT7IeQoR232tSCmpX2Pe/TaGMfx333MkmWQnxrKJvHqdIHlDD6GWVNGiCHz31I1i0vLQ08wtKTbkS3MdO+CyuLd7 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: Got a compilation error for ffsl after 91b80cc5b39f ("selftests: mm: fix map_hugetlb failure on 64K page size systems") imported vm_util.h. Fixes: af605d26a8f2 ("selftests/mm: merge util.h into vm_util.h") Signed-off-by: Edward Liaw Reviewed-by: Muhammad Usama Anjum --- tools/testing/selftests/mm/vm_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/vm_util.h b/tools/testing/selftests/mm/vm_util.h index c02990bbd56f..9007c420d52c 100644 --- a/tools/testing/selftests/mm/vm_util.h +++ b/tools/testing/selftests/mm/vm_util.h @@ -3,7 +3,7 @@ #include #include #include -#include /* ffsl() */ +#include /* ffsl() */ #include /* _SC_PAGESIZE */ #define BIT_ULL(nr) (1ULL << (nr))