From patchwork Wed Nov 2 09:10:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 14119 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3503532wru; Wed, 2 Nov 2022 02:13:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7huflLcx8zHtKUKE1OtJEvc2H1+nIF4llZ26NI9/lfuv+/bp2+fRC5VLK2DHDwT440Zp+F X-Received: by 2002:a17:903:1d1:b0:187:3f0b:af76 with SMTP id e17-20020a17090301d100b001873f0baf76mr5206238plh.145.1667380415471; Wed, 02 Nov 2022 02:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667380415; cv=none; d=google.com; s=arc-20160816; b=o5lzf8EO0eLvmVFyv/8DCJfvGsnibdtKi64NmSgMJRI/sn2exrOcetJHg5q92hmwBh tDMQaxtmNr9H1V5vokv0Bb7yhNzFkCAmo/Qvjxi5F5lpQEKt5MbkOUd/WbnMFEl7Ta7J vi2E05hdKN8SmI7d1Wpb4Re5nuuW/BgyBLCLaf8o4WanTT1w9OJaVLj8xs+0QjfgmOAT 0AI8eVmdI6dqi+CKTNPREaqVIq0U79sIrxvyBmPQdFqQ9SpCYXitOSogVLQ367/mVzKO FJz51DXWqlisds0tWuFbmMvGKHzqumky30HRwCrSKSPDPV6G2OplcRkg0RISc+uPXlBU ofKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=RAlb1kax7HoNKVQNf77d4ZzCjwa1EAZi7nCZnHO7gmQ=; b=NRxv4PHsupmZ4w/sH+yAWwEsG/omIhUUlVjrZphin3sMT50agS9G31nIR6ln5OBSGW PR9HflzWXSPqCWpvxiraPhMpzw2T2SBj7RqFb0Kyb81Ax+eRKwyfRpQDGVWGiJ80DPFb 5MAaQtUqpHpYB9Y/MX9l/GycF7xDX5F8vLG2sWNgd7QT/quvvhPxB8bwIaLr6//Teajn k3lamfXIKejStwWOB8X05WRncf0V3kGIxY5/5D4FHRfHppkVqc3oT+6dZaCQWuLgdslD S7ibB+ZOdfCiG3Jj2ZCp8W5EMs+uOXwyAdLqJuSts/TQDOxERm1Q8Pi24lewON9vuI4Y 5C6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kW7Gstv8; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a65528a000000b00461f71a53e1si6005021pgp.505.2022.11.02.02.13.22; Wed, 02 Nov 2022 02:13:35 -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=@gmail.com header.s=20210112 header.b=kW7Gstv8; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbiKBJMn (ORCPT + 99 others); Wed, 2 Nov 2022 05:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231394AbiKBJLx (ORCPT ); Wed, 2 Nov 2022 05:11:53 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7287B28709; Wed, 2 Nov 2022 02:11:07 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id f27so43550966eje.1; Wed, 02 Nov 2022 02:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RAlb1kax7HoNKVQNf77d4ZzCjwa1EAZi7nCZnHO7gmQ=; b=kW7Gstv8G1/BMZNg//WXpApV3OoQDMXLECH/Np0uSFWFEIR+Hx5AQdjUGBY5xCyjQS UzB4TfT+lCA4pyxk0YwVFGBgCszHttKC3zL0jT+Veh5QcTaDLSPIopqCF/ccoWNvpyDo IFVZY6+T5hq5DYp4Pf54JjqZuGn/jJGpB9OzwdXan3bWVJbFnvzRGi98V7vyJ+ox/k/H 92JlpJSDjV7qoPbT33Lj8DfCaVtDLUHUXioKMz6riDWRoi2cN7ZkzYxqRQfvkhASCSMs g6vyEDVXx9JEO9ely4EiFecYNoQy6O/P7JGiHxNKYQkedOD6aFJWvZyOVI6S3zKvT+dX EKFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RAlb1kax7HoNKVQNf77d4ZzCjwa1EAZi7nCZnHO7gmQ=; b=lEC7KAOaMCECkhCx3/qyVYuRsuoIaMuaiwR0hfT/NFfCDMJV0PPyR4DR/4q2UFi+Nk +nLusmRYwMsa4JX4mZUhQbjfWB8Wl93D8oNu/15B2xtA3A4JxPMDaV3bG/jgJCSIye7s hNwl4jhaRLS409EEMWXh/c2srlCeTx/8f6rjnT95JSE/WxaoOSWmh0VHRx9KuZ83PvJg gJHI0mhrAwh1ey9BXHp+w1s93dple+CfsUcym8ISqbzuyFIWS+OeLIOeC49TTLx8z6a2 jouING974ahhazxYAXpTA1Ztz7a7C36QVGEwd11nMaX8XyLfJthFyLlxrIQOAupZDYYD oXPg== X-Gm-Message-State: ACrzQf1dducJHvZ64KD6rWqFY7MOmF/FyUk95p822biq1O7hsQxF5j99 rNPLmV0OQylimW8YiFu/eeh1IK+euMk= X-Received: by 2002:a17:907:86a0:b0:78d:df8b:4d17 with SMTP id qa32-20020a17090786a000b0078ddf8b4d17mr22146988ejc.254.1667380265806; Wed, 02 Nov 2022 02:11:05 -0700 (PDT) Received: from felia.fritz.box (200116b826ffdf0094d0303451b23214.dip.versatel-1u1.de. [2001:16b8:26ff:df00:94d0:3034:51b2:3214]) by smtp.gmail.com with ESMTPSA id bx18-20020a0564020b5200b00459012e5145sm5556331edb.70.2022.11.02.02.11.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 02:11:05 -0700 (PDT) From: Lukas Bulwahn To: Thomas Gleixner Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] clockevents: repair kernel-doc for clockevent_delta2ns() Date: Wed, 2 Nov 2022 10:10:48 +0100 Message-Id: <20221102091048.15068-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748375086481325750?= X-GMAIL-MSGID: =?utf-8?q?1748375086481325750?= Since the introduction of clockevents, i.e., commit d316c57ff6bf ("clockevents: add core functionality"), there has been a mismatch between the function and the kernel-doc comment for clockevent_delta2ns(). Hence, ./scripts/kernel-doc -none kernel/time/clockevents.c warns about it. Adjust the kernel-doc comment for clockevent_delta2ns() for make W=1 happiness. Signed-off-by: Lukas Bulwahn --- kernel/time/clockevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 5d85014d59b5..960143b183cd 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -76,7 +76,7 @@ static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, } /** - * clockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds + * clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds * @latch: value to convert * @evt: pointer to clock event device descriptor *