Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp505179imn; Fri, 1 Jul 2022 22:13:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uOvr3REinGBhD5Mb9uKqJMYIQQvrHvAgZXIZEEypXzn3Q5BWxH79BCoOVGjiuQvKnEV6ay X-Received: by 2002:a63:3c08:0:b0:40c:f5b4:9674 with SMTP id j8-20020a633c08000000b0040cf5b49674mr15834405pga.152.1656738832756; Fri, 01 Jul 2022 22:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656738832; cv=none; d=google.com; s=arc-20160816; b=RypP0Arxp9QnoojG9CBYGv7cXugR1EHA0F6ZeXpiwow7JG4+FqVLq4Ryq03Q5vP4f+ w8jTDQwkPHoltd4M5VqkZZgTfkK82SbZ63LS/QJcopPmye8sItFQ+eeRjadCBy9RynPc PnscJTm7kd71xjIOCZ16PYKl4L5nexf0cIVVK8OARljcKyJOO/0sn69eIQideYfJQ4Ud iKo15H0WJ/brK9Ib9ab2P64ZYUUgHBLXjjre/JsLetHViAC6/arahFmmN9QfEAEBlQ48 GvRVbOjjGv9oYsLVFb3nYRfWWZ4xW3t2MG/ylmRvVzzlyCV6nYTBeigDoJHdAIHijMkd Sl5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=FXDOVHKKv/Ct7G63am591KJ/jKCBJOElGG/6AF1hRUk=; b=ZOgwSa15M2hyoOZGkXjh6dKaRXHrTUQ8SybyJ619qlca7JQkVyPQ1p+YC6hq2lw8Kl GAzmLBiJbSYrPBDnGBeuq0Q3Sv3FKLJenlxJGszx4CQTrHvAy0kXi0ujhBOI+rcnQept Df0KrA0djoJ77+odqdcMYU9j+dMjQ9PqynAApVzh9u6DqSDwOfkTTs0C3Xo+OQLq+FIm FMSJ9rG6BMgNu4WZNkUyMeSvV20wDPipZrlr3SrSEC6r+QLzkSUDCw4Jb7wDqum0nVRq yl4ItrxO3K7WbpE7mSLzVGP0S0ELrbBtrXZF5osEjJd72PvtazbUdlSjZVr35SaLtCw8 t+KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=eU5E1IkJ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 130-20020a630188000000b00408a74d3d14si4686504pgb.713.2022.07.01.22.13.16; Fri, 01 Jul 2022 22:13:52 -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=@google.com header.s=20210112 header.b=eU5E1IkJ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbiGBFMP (ORCPT + 99 others); Sat, 2 Jul 2022 01:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiGBFML (ORCPT ); Sat, 2 Jul 2022 01:12:11 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 132DA2A71B for ; Fri, 1 Jul 2022 22:12:11 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id i5-20020a170902c94500b0016a644a6008so2415297pla.1 for ; Fri, 01 Jul 2022 22:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=FXDOVHKKv/Ct7G63am591KJ/jKCBJOElGG/6AF1hRUk=; b=eU5E1IkJFySb7qvJXe/F66qE6Yptt3fhfs21I6wv55+iaHhTIjXIwgoz35qqySdolW y2JuQQMS1QMZ6H4g3x94gKz2R7DvMKcQRga6Ap2PlI3cDtZs5QjYakUuggtCzrDckmsG q/Cmi+3F6Tmk7gLL2p3IuXtf5FfgRXGIHg3RpL/0WdA2sapBrl2g1Rr/7PZ2gV7sz7lm T7higJi3LrLZASEkQF7rJNgXBlSkFlO554ljvCm4yfwPx4jjEtmR8u5pW18X4pt+6uVk KqEaeW46hHRCQwPVDSbSp3Ux02E5LQq3KOLaCL+i8JSlyeYYA8oUcb3eNYBiJT2N8gN4 /gcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=FXDOVHKKv/Ct7G63am591KJ/jKCBJOElGG/6AF1hRUk=; b=N2GouUFPMMrnjsNoTF4lELiGkB0U8Zi5Bh645GPkJSjMsOWkt42a8tGvfctHNb5oFM bDZXU6VpxMRsQmq+jan2robpXzETbbrbdMWfJgV7jq/1J0xoaY0dkEY0h31fo20RPQMu CfU3jTF7rOGFIaofvtjo4YYKmnuXgmbbvGt2NnCbItiaGax3HYh0tnOJvcqNI3UTd4q8 97Daw9IWZr2GCtree9T1jSld5eiRxaU/kk4/jZJtKf+/q3GzUSUIzMPDPGrg0X6SUbDR T5VkSu0cGLHwLg+wWRgv3oGUUnNBDcVWYArppAIAzTeKJ4+C6He54GgzlmExLOoDHFdW EdYg== X-Gm-Message-State: AJIora/dkycjELUAfNyQXr8+R9qCslJNc2ufSyILB42EWsrZK8cqMe22 mFcc5fnsTOTj/5QyQlQGA2aQUr/MfMwAQA== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a17:903:1c4:b0:16a:73fd:3c6c with SMTP id e4-20020a17090301c400b0016a73fd3c6cmr23401813plh.115.1656738730290; Fri, 01 Jul 2022 22:12:10 -0700 (PDT) Date: Sat, 2 Jul 2022 13:12:05 +0800 Message-Id: <20220702051205.3292468-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH] kunit: Documentation: Fix a kernel-doc reference From: David Gow To: Brendan Higgins , Shuah Khan , Jonathan Corbet , Daniel Latypov Cc: David Gow , Martin Fernandez , Kees Cook , KUnit Development , linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham 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 When building the KUnit documentation, the reference to kunit_test_suites in the kunit_test_init_section_suites kernel-doc comment gives an error: Documentation/dev-tools/kunit/api/test:9: ./include/kunit/test.h:323: WARNING: Inline interpreted text or phrase reference start-string without end-string. This is because the reference is mixing two function reference styles: adding an '&' to the front, and "()" to the end. The latter is neater, so get rid of the '&'. Fixes: 9bf2eed995f9 ("kunit: add support for kunit_suites that reference init code") Signed-off-by: David Gow --- (As a KUnit patch, we'll accept this via the KUnit tree.) --- include/kunit/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kunit/test.h b/include/kunit/test.h index 8ffcd7de9607..f1c1a95df9b8 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -320,7 +320,7 @@ static inline int kunit_run_all_tests(void) * * @__suites: a statically allocated list of &struct kunit_suite. * - * This functions identically as &kunit_test_suites() except that it suppresses + * This functions identically as kunit_test_suites() except that it suppresses * modpost warnings for referencing functions marked __init or data marked * __initdata; this is OK because currently KUnit only runs tests upon boot * during the init phase or upon loading a module during the init phase. -- 2.37.0.rc0.161.g10f37bed90-goog