Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp78513pxb; Wed, 13 Jan 2021 23:56:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFWSuJcSMf6SagAv+QfYnrGX/k6ymTCXleGwfekt6IaWes5d7jB6aTQe/O49N3Pkiy0mCq X-Received: by 2002:a17:906:415a:: with SMTP id l26mr4388955ejk.463.1610611016822; Wed, 13 Jan 2021 23:56:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610611016; cv=none; d=google.com; s=arc-20160816; b=R81ixK8TY2Khco4tRPSrVPpCQKodaaWFZQ8BlhbHO6LraN4W0oWoTQdX3zgR0kzRIy NGK7+gMkMQ9O1X5V5UKYpb5x9PE9AykLX65/6Vo8v64VtZm4BgtM9UgLdjUwBS4JxG9B VwGQhwFTCyv9ONM/oqzKIMJJ5x9N49hCFpqQiMIrLylv9v7NJIaEVE/F8JaPx/U6oxwg 0WBwyRWr1nv7gSfu71byDeG/uALMeEvchVTsxeOXtIU2De+7/9A9qiq08AghnvMxVYkr QVTf2kMj+4BcU557sAWlOiEO7NKzQQjrjCci7inw7kWgWBgcTNkjdhXQ3V9EXP2xCjui CFsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bfw9LOZNEPIRkoWfZ8NgFyf1Yn8a5CRm+1zH0e7zzz4=; b=duvjlH3KJtdV4fLzUR5X4LIcEq/ix7vL6LflXUnCHtva33EBkQU6VaqMQ7f8mMJ4br 4z9UEfKyRKbvkEtymCXLJuMbHd48j9akNk7Gw9WTwobOycNMLulFGGhJ1ryZB9Lq5sSq evf99f6QwdoHBVJzHXIWimQEIUGMtUnif1qlxKNE8n25PTw8JA9Qs36cPYQk/puP6Par vJypoUqIfGoi6At3+dWq1tG+6y7ynqNYsCVU9j996zbFqeWKqAfwomAjB0c1bhTRKyix VEen58y17CH2zmQZ36dAEvWMLp4vd48+APoc6vZVRcRB6zqzMqfqlpZbAfRCV7IFJSfw rNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fo0BHM4d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d16si2112741eja.63.2021.01.13.23.56.33; Wed, 13 Jan 2021 23:56:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fo0BHM4d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727387AbhANHyc (ORCPT + 99 others); Thu, 14 Jan 2021 02:54:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:56670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727012AbhANHya (ORCPT ); Thu, 14 Jan 2021 02:54:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D7470239FF; Thu, 14 Jan 2021 07:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610610830; bh=AIc2wW620mOmuszeWZXDxQT5qZVzYGxu91AL11TYNE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fo0BHM4dtTH6oMYdIRblWAn8G+JBudfr5/3qR5qz3qF/4FeyE2O9EbKvp0Y0gJfP5 wwSPRApjShInvuDLfFbSvBl2bfp0DI6WDY9KBrRh3aTPLZIEwdrkFTU77Na0HBgziF Ct8Rw3GcGFHxr53YNC8qcifzeXpoFvKGd2nwMvsXRSKqOCTReyKHDqq5f6TeqfULj9 mGqNIpg5UklWKBa5/veG8QlmUvBkoM5/L6IULwt3J5fnFjmJjMZu1+4vyOkneeG2TT Zs8Phb4BlLPZYfl3NB10ODfQgVRxaZEPnZgzx5IGCnKgFxn8k1Z0RNRpT3vEgMpoD3 0AVBT7tb43cQQ== Received: by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kzxRz-00EPuL-DL; Thu, 14 Jan 2021 08:53:47 +0100 From: Mauro Carvalho Chehab To: Ingo Molnar , Peter Zijlstra , Will Deacon Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Linux Doc Mailing List" , linux-kernel@vger.kernel.org Subject: [PATCH 10/10] seqlock: kernel-doc: fix a prototype Date: Thu, 14 Jan 2021 08:53:45 +0100 Message-Id: <84693a4901efb553dd95fe4909b50d6d8faf8107.1610610444.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Right now, kernel-doc produces a warning: ./include/linux/seqlock.h:829: warning: wrong kernel-doc identifier on line: * DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t The issue is that Kernel-doc valid syntaxes for function/define declarations are either: function_foo - description or: function_foo() - description The function parameters should be declared only afterwards. So, replace it to: DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t Signed-off-by: Mauro Carvalho Chehab --- include/linux/seqlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 2f7bb92b4c9e..209454cedf61 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -826,7 +826,7 @@ typedef struct { } while (0) /** - * DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t + * DEFINE_SEQLOCK() - Define a statically allocated seqlock_t * @sl: Name of the seqlock_t instance */ #define DEFINE_SEQLOCK(sl) \ -- 2.29.2