From patchwork Fri Mar 29 18:58:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13610958 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 65EF8C6FD1F for ; Fri, 29 Mar 2024 18:58:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BA8056B0088; Fri, 29 Mar 2024 14:58:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B58076B0089; Fri, 29 Mar 2024 14:58:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A20176B008A; Fri, 29 Mar 2024 14:58:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 7BCE36B0088 for ; Fri, 29 Mar 2024 14:58:30 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 0CB21C040C for ; Fri, 29 Mar 2024 18:58:30 +0000 (UTC) X-FDA: 81950987580.30.AC09643 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf29.hostedemail.com (Postfix) with ESMTP id 63F2712001E for ; Fri, 29 Mar 2024 18:58:27 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=w5Z10kML; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3Ug8HZgYKCMMnmurj5pxxpun.lxvurw36-vvt4jlt.x0p@flex--edliaw.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3Ug8HZgYKCMMnmurj5pxxpun.lxvurw36-vvt4jlt.x0p@flex--edliaw.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711738707; 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=W6jpWkrIAWPntOGVPlX+CoN3n1daGIwh5z3zUFqEtOY=; b=1RbOxFqN5j4xFmbbHu3FpRSQzx4HLkWjl6NW7cDJGaMOlJ/4Ev47rzQ1JGrGZg7XiR9qFV 35BVolHb7jPSY6ILVYTLMunhrYsTxdNvuE4Rs746yFAm7Ch0+Vvd4olx3Jxhxj/O+0XenW 6TtztxrmuR4YGuGyhlEyVakb5K8Q91w= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=w5Z10kML; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3Ug8HZgYKCMMnmurj5pxxpun.lxvurw36-vvt4jlt.x0p@flex--edliaw.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3Ug8HZgYKCMMnmurj5pxxpun.lxvurw36-vvt4jlt.x0p@flex--edliaw.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711738707; a=rsa-sha256; cv=none; b=eE0qbtBs6J6UctMC0ywPTtaoCLxL+0DoGefRrIGkTNXtj7QJCyYIWq/FUU1D3cBMtq8uFp wb1kLTlFWMYn91FyWvaeV7aeZocX1tP7GAy5dCE7glbcR54aWrlarfDvAFzBKtNjlTxw/+ 7zsXP5TSj95UdzSiNbNWmLVsj2V9oUw= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-614400d9f35so16010327b3.3 for ; Fri, 29 Mar 2024 11:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711738706; x=1712343506; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=W6jpWkrIAWPntOGVPlX+CoN3n1daGIwh5z3zUFqEtOY=; b=w5Z10kMLH19cCyLgg3HA5So2Dfhukji9k0o1SVg5LmjGAHt14q4qKypkmCBYqA9f+i JBK1HaCLwjvy8m6g1YWL+Hd6bSgXtc+PCyVktDCy/Cifrq949ASvMBPJd/F2iHmerBmK cWGN6Nze/yoWaDN7hjmrHIxVcBBNN/0qBYM79hj1j+w3XicE7aEZFyDL8mMictrG0Ful d38hV/mc6ioRr6mpfb2glWKjnAEjXGPc7c35M68qr17jcRvEiSHTwo3JhwYU3mDDnbq/ 7LvcvyEBBzIm5gMNUMB+OIPcUNxQGtr+CZvxsW1nX2pTEYm3qa3+kpeAEC+kPZci2yUt 2ZqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711738706; x=1712343506; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W6jpWkrIAWPntOGVPlX+CoN3n1daGIwh5z3zUFqEtOY=; b=FiHO1rb2AYIU7Y26VcSGykiwmIz3jjJBax3h1v0IAS5iTdWfTBeene7TJu+XsGeAva LS2TO0YBNDKivEmDe4H2wnyoSgZLJOhk5JinZxJrjoS6k5gpIQYmTHftt7XqlPd6ms45 sGr65pSuwjFmCvRuJfPMucMIIRevhcIkEAlpoFdBhFCBwS5dyaj8vmpyxICplOI0+FY0 uD02WSYTyNKNsJCqOym2s8U9L+VVk3oC97k1JTUn2p2ThVoMb/i4BnFZxFlwicGJ7AEY +tbUcg9onnPLCgAuxhQeDRcB1x/fukv2kTpfqGudUwSBvQv2u7O28UEgjB0E4xk29fH5 XIcA== X-Forwarded-Encrypted: i=1; AJvYcCXH7dOzzJmeFs7p4aldIyju7X+8RaagEFIr02H/PaeRFVXTgfxPjKe4bcuy2SJs4MT6cQ07f2W1LPvhHE20ENl/EMM= X-Gm-Message-State: AOJu0Yy9K+sX7nzrNC04jEb0wsQ33VqgFx9tAHSbcFPxphUa3VOaaEs1 gxtvpQekeeVvIuMroxORPjMc5s5pp2g/0i9+DIW/j2CwPsXlyYKnwKw9KgOJR9mSl+2DolKilAc 0Yg== X-Google-Smtp-Source: AGHT+IFFFQ81uVFMy2JFSqiJ92NRr3e2zklngl/rFoikve1UjEUR1bAtgZavAMWyXRRu2Nmkm6XBrFE1SoM= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:e28e:0:b0:611:9f44:3d40 with SMTP id l136-20020a0de28e000000b006119f443d40mr811961ywe.1.1711738706411; Fri, 29 Mar 2024 11:58:26 -0700 (PDT) Date: Fri, 29 Mar 2024 18:58:10 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240329185814.16304-1-edliaw@google.com> Subject: [PATCH v2] selftests/mm: include strings.h for ffsl From: Edward Liaw To: linux-kernel@vger.kernel.org, Andrew Morton , Shuah Khan , 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 X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 63F2712001E X-Stat-Signature: rqchnzirmbzxtrtstir7g8o1ntzqz7hp X-Rspam-User: X-HE-Tag: 1711738707-501146 X-HE-Meta: U2FsdGVkX187x3w0empoNzDbn9c5yOnxilW2yzS9OQ2eEi2/jHgHCJRsNqC2pOrgUvtlgTUtjvqDHK86zLcATGTP+3lqKZ64FhQSxrMuHF1mMqfZRspayFgThIZvKMBmJHo+JHMqzSVb/bdgQPE2wkKiH0c1L6aOSl17YHJKBGs/lpxydpq7zkwJaENzpSyTGxzoJwItAdMavrb/z8JL/tYuQzaDEgfffqnDLpN8eb1120n5mFV6nJxYtYMYhGd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X/B6CBpUleEwt1Rj26jMnPL2uCH1fPsr2aCbK9wk/Dp8c+JoI7RG+2MTgQDvmRMn94LHy1zUAkRhG1B65Jicwfr8UGveKF7vzT1sGotQl0UKUa91bA9FY0tq+qnbRkCDZ2bgfR/MTiWqrunvZVQzWMOS8JUNiuD5OUI2iZb0fs8zwWZtzDfypDRR/SRwoLx9EDcobVuyRP5AcnBIc5OXcGg65eQtnkKjDRB2ojfdJ8Eg7GhpF8GPbBS32umCoQoDs6qKV1Y4= X-Bogosity: Ham, tests=bogofilter, spamicity=0.001194, 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 on Android for ffsl after 91b80cc5b39f ("selftests: mm: fix map_hugetlb failure on 64K page size systems") included vm_util.h. Fixes: af605d26a8f2 ("selftests/mm: merge util.h into vm_util.h") Signed-off-by: Edward Liaw --- v2: s/import/include and clarified that compilation error was on Android tools/testing/selftests/mm/vm_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.44.0.478.gd926399ef9-goog 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))