From patchwork Sun May 21 09:54:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Zhang X-Patchwork-Id: 96843 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp815925vqo; Sun, 21 May 2023 04:09:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66KGuDvCzcCl4epVZNvN4x6JYNe/zX95XdDi7f70Yo2nwsE4KDrTYtv8MCicnT4l3Tu3W4 X-Received: by 2002:a17:903:26c6:b0:1aa:ebaa:51ce with SMTP id jg6-20020a17090326c600b001aaebaa51cemr9063408plb.14.1684667356837; Sun, 21 May 2023 04:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684667356; cv=none; d=google.com; s=arc-20160816; b=PTpHmUc1NffodD7ER8TfZ41rqrFNt3xbWWPwlGzeBxixuMTmliSYxeD9ThOXnQr3Q4 r4XcnUZiWgOgLCLUgbEIPblcbLbjaQTc3XreJAmBm5edUzZqWp2td7bvWEW2zYorlD9L /BPYjNbj2kfwQF1SHz867LjmsOWu6EGFmSLWAqVNi0FnZqQvKsjoXuqMljMkojw1hV7l 2jF5teZEhMeNKDzgRTeKNhSjRhJTsBCn2bxUHuulQn7bDuwhZ2ZX7K2z254BV0mx5R2C 7tfSZabc6Jfpj5CIaKU/9P9Vno6IeqJbJ2/W2d5bSX5TAKKrHrF89gWdEg4ip1MxH/2T vREA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J2wvUeHhuusQaep940v40WYCSBa0GTC/pU4VHFBZK60=; b=IF36wmFmV5N7aHR46NSbMdjiv6ihjXQBl5TlRYx03WJJhECw+/PskkvkWxWnjrVgJS WdRBDIiCZ1rjmhi7JHiRcKBoPbim3yd2SqF1FiVHK4Sl6/xXeBFnQfH/hgOScMQd3Ubk L5O5hHXkKgKmMBRL3KeTltAyVQR8GpSCgbXs/CB/MRB4xgO2BGuIosn/5STYoWW//rRL Ip7Xr/YF/H6EP35rxqI/1lel90WXONcwoIJKJFVQ1mQ+5fFP+gdBcdYIrzPsawI9x9KX IlURxB5HWa8MC7IlKN1+u6bvtyHNTPM5C8gnLz3vd1+i8bwqacRjX7VXkUGfFDtkumRP jvAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=XnIQqtxd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a631553000000b00528d90d40e4si3061971pgv.88.2023.05.21.04.08.58; Sun, 21 May 2023 04:09:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=XnIQqtxd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbjEUKZh (ORCPT + 99 others); Sun, 21 May 2023 06:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbjEUKHG (ORCPT ); Sun, 21 May 2023 06:07:06 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1465E6E for ; Sun, 21 May 2023 02:55:41 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-25566708233so78538a91.0 for ; Sun, 21 May 2023 02:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1684662941; x=1687254941; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J2wvUeHhuusQaep940v40WYCSBa0GTC/pU4VHFBZK60=; b=XnIQqtxdxPmD/KnZq8uj/btOSp0PPr8cQxoppCk6LlcV9cq2J7lenURpztkriMgNAh sK3FUJUMe/6fFhvg1YPxrBjRCff0j4Vm+3jxxp6lsGM3tZOXYW4RNrDvKAWQmB65hwZ5 SLGfeEZarhej8B+HRf8MQPQDEIkQLh//EquRSaY0Q87miZs8ojMxNZ3gn/oH0QiO+IIx Hd3MshNLmegApz9HX6IksnLt7K7INyLwibs0UIGS81aWqIrSedRMK2TpXarOumqSMP/2 jy1hRpLb53TGSsHE3T6ICh6n/sZ8SnWdDjit0y/DrNnPj8DMpwaUUkEcm9lt39OyByPk HqZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684662941; x=1687254941; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J2wvUeHhuusQaep940v40WYCSBa0GTC/pU4VHFBZK60=; b=D59SoVCRCkzLfO3WQJbpbrXFg5LkF02wRisPiUC/C0X2VgUQ261sySCvlOl/M+F7OM +Ei+oEy1csUJqRUr2MnEIM5sNd6CUoZoN0DRKy5DEHOtsIUWcWBg7xap1z4hVqs3NcMF P5iZqIWrOsi8alQ8ZWtfkPpaqfeaDgCfYycL6f3s8kPJjMwc9aKarzC/XKcTG4x7p56n bQDLrXi9oVDyIzXALlrvVv4YBtbGkJZVPxmntCh7Jz8m2hH6PEJ9942sdVOGfmLsDaPf qxRQ+r6ibllqHqr11CavqNh++x6HULCv0+xSxfn5WLhHXuQCOwavmYhE1b0MfODdsySC 9UEQ== X-Gm-Message-State: AC+VfDyE8TtwOyUBxeTnximqq0zIXGRST1PFqXWtF+/CdfwIqp3IrEqn 7gHeSGwuPNbI4yJdt6t/aaaxUwPRtsrv3859eKc= X-Received: by 2002:a17:90b:4f4e:b0:250:4f32:54b2 with SMTP id pj14-20020a17090b4f4e00b002504f3254b2mr7164761pjb.19.1684662941280; Sun, 21 May 2023 02:55:41 -0700 (PDT) Received: from localhost.localdomain ([139.177.225.249]) by smtp.gmail.com with ESMTPSA id b15-20020a631b4f000000b00534684201b0sm2530629pgm.27.2023.05.21.02.55.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 21 May 2023 02:55:40 -0700 (PDT) From: Peng Zhang To: arnd@kernel.org, willy@infradead.org Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Liam.Howlett@oracle.com, Peng Zhang Subject: [PATCH] radix tree test suite: Fix building radix tree test suite. Date: Sun, 21 May 2023 17:54:50 +0800 Message-Id: <20230521095450.21332-1-zhangpeng.00@bytedance.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20230516194212.548910-1-arnd@kernel.org> References: <20230516194212.548910-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766501758208429388?= X-GMAIL-MSGID: =?utf-8?q?1766501758208429388?= The build of radix tree test suite failed due to a new internal header file added to radix-tree.c. Adding the header directory in the Makefile fixes it. Signed-off-by: Peng Zhang --- tools/testing/radix-tree/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile index caf32a9b9608..7527f738b4a1 100644 --- a/tools/testing/radix-tree/Makefile +++ b/tools/testing/radix-tree/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS += -I. -I../../include -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address \ - -fsanitize=undefined +CFLAGS += -I. -I../../include -I../../../lib -g -Og -Wall \ + -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined LDFLAGS += -fsanitize=address -fsanitize=undefined LDLIBS+= -lpthread -lurcu TARGETS = main idr-test multiorder xarray maple @@ -49,6 +49,7 @@ $(OFILES): Makefile *.h */*.h generated/map-shift.h generated/bit-length.h \ ../../../include/linux/xarray.h \ ../../../include/linux/maple_tree.h \ ../../../include/linux/radix-tree.h \ + ../../../lib/radix-tree.h \ ../../../include/linux/idr.h radix-tree.c: ../../../lib/radix-tree.c