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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54B9FC61DA4 for ; Tue, 31 Jan 2023 02:36:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbjAaCgu (ORCPT ); Mon, 30 Jan 2023 21:36:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbjAaCgq (ORCPT ); Mon, 30 Jan 2023 21:36:46 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 594AC2D168 for ; Mon, 30 Jan 2023 18:36:14 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id oa8-20020a17090b1bc800b00230133e9e6aso316370pjb.8 for ; Mon, 30 Jan 2023 18:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=rzt0/3jsMFJUfIhPaBwoOkey3oh79UDiXKh2IWsZmn0=; b=K3+uNVeLsYBpdR+StkpRilWPuzp9BhVJMT5HHjDPiG9zQRr6DXc3CuLxN2CN73sFMR 4hBMbgSFoXabaZ1YKjHzyqBF5LhtffZ4MeT9PDfae0Tf4kgjZ4fj5QO6aOTu5EmjR5b8 vsE+0MWch+sS5XN1LW+AoBKrrFnvC+TziOlFZBZa5hdHjLlcrNmNRl04rznpa6uYmeYq 3bFmYqU15coJDy6fwDDGEbyBWiEaaFos3z5Mg027kMAGidIfvPNFWVthu9NGw7TO9T6y tKjBTDF05Yxnf/eWFbJkm7yfrl7S7RtG+0b+wqQaM+Fkfr8fZfsbW2FRFWfD7yJhL6Qk tKrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rzt0/3jsMFJUfIhPaBwoOkey3oh79UDiXKh2IWsZmn0=; b=q3iecME+7ebmycNwEzBFcDJs45Z2TOq8+1fIqLJLyVLJIRHyXaXitO5iq36dXq2NO4 hvLwvOb0VI85zNzVmR1eIMGCuGSLvY35w8scp7Y9E+iXb/wWcTfK5LTABIkrDJOtCF2+ 9MdmgiVFynQughoO6oq87s89TSY/zrOLNubollHNagzkN18ngxjZqlUJOYTlwSxkqnX8 PqJ2d5q79CJnTlm0aTaIYogM/hS89ZWAE0cIX+B2e7wCT+5+2F4STa+4szrtYCMOqKaJ KsNtTvd6IIMUB8X1rc8FM/tvEoyvtW0oRMVZfCUq+uk7DhbTvQAe5bSo0yWWJo56Q/r4 p4zw== X-Gm-Message-State: AFqh2kpJB93+jj5pcGNOgF7m6i/LGFlD1v+rLDlF9OCP+xRCMYLHXuKH F7eSDICyhZTQ1ZXmWIQ1Bj1c+4gEcusamg== X-Google-Smtp-Source: AMrXdXu9Jp65RUI63xyyhAsw+D0hWv/DjieVAkRwci9M/liREghVAwWDGEbKiqyKZJdLjojUR35XPRu8VTNP2g== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a63:2001:0:b0:4be:74f7:d3f7 with SMTP id g1-20020a632001000000b004be74f7d3f7mr5746281pgg.124.1675132571123; Mon, 30 Jan 2023 18:36:11 -0800 (PST) Date: Tue, 31 Jan 2023 10:35:03 +0800 Mime-Version: 1.0 X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog Message-ID: <20230131023503.1629871-1-davidgow@google.com> Subject: [PATCH] kunit: fix kunit_test_init_section_suites(...) From: David Gow To: Martin Fernandez , Brendan Higgins , Daniel Latypov , Shuah Khan Cc: Rae Moar , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, David Gow Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brendan Higgins Looks like kunit_test_init_section_suites(...) was messed up in a merge conflict. This fixes it. kunit_test_init_section_suites(...) was not updated to avoid the extra level of indirection when .kunit_test_suites was flattened. Given no-one was actively using it, this went unnoticed for a long period of time. Fixes: e5857d396f35 ("kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites") Signed-off-by: Brendan Higgins Signed-off-by: David Gow --- include/kunit/test.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/kunit/test.h b/include/kunit/test.h index 87ea90576b50..716deaeef3dd 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -303,7 +303,6 @@ static inline int kunit_run_all_tests(void) */ #define kunit_test_init_section_suites(__suites...) \ __kunit_test_suites(CONCATENATE(__UNIQUE_ID(array), _probe), \ - CONCATENATE(__UNIQUE_ID(suites), _probe), \ ##__suites) #define kunit_test_init_section_suite(suite) \ -- 2.39.1.456.gfc5497dd1b-goog