From patchwork Sun Jan 8 02:12:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 40469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1530179wrt; Sat, 7 Jan 2023 18:14:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvztqiWa9BqDK6cTQoVlomMJC0xgOtFV+EidmZGFYzWz5cxlmahHK/pFWU1I7PU+SjnnhL+ X-Received: by 2002:a05:6a21:999d:b0:9e:9685:f15e with SMTP id ve29-20020a056a21999d00b0009e9685f15emr92499990pzb.0.1673144091690; Sat, 07 Jan 2023 18:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673144091; cv=none; d=google.com; s=arc-20160816; b=D/tytPDjCdLWmQj4cSxAPA3H7CqahXprUW2ymsU+iVjggDhMQcXn+1KipGSCRo1L7G YJ/QWFKRBbCiMneDKqYjZWiDCQ87kVpJRd+d7+tckTZru4AUP0JcGEkHgVO2+GBkUgyk 1jJxGjsM3thRUBjSt7rO2H0rJTXcUaYo6kzVMthQyi89bwWl0GRQO8mgRa5TuRuMW054 CZ0bRbbqPm5I/Z9YBTDisSl+GExF+YGtYgF50IrkNM8p5UFkj0Fpu0OsDKhWKpr4xMpx U1Qs4jOcdE58XfG2ZQem+fBu8ILLujSiKBEdSXpc58na/ZtQEHuTldBaFmBjPFaUlLt4 2PAg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=n8y8MQVrWNjH6e1zcN2SX7rByEyJkNoM8CrUWsOVDAY=; b=RuLpI18q/2NmWZNlaDFEtqD6Ej5mPzGJnqRZTTLSkPWHRzH7RUN0TTj9n2RkabQh/i /uAfdiHphCl0mLGjUdqBuAbqem+VDaAlSk74MbS9o/8KPN/+/CxhqZaS4gmuZytUW32g FT2LrqbAaHxr+Eo5B8y66iRq1zuCdCzlI6xmQs/dTodolfVN0BEOD9474ROlLTfXzG/d Dl0JXwu4Kzs41yP7l1OXtlQH+MhnMpMZ8f6StFZiYYrWAG5K3Xn6mvUDxVsFqJu+WHgF cjjuzDOK2tSqPmzEqwEnLkOjKfh0L0xd3Bsps/D7RnU7qnmeQk3Sl4oF/Kg2ECIWLOcU FxOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gkJ2fdgs; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h29-20020a63385d000000b00498e8f1b9e2si6088750pgn.669.2023.01.07.18.14.39; Sat, 07 Jan 2023 18:14:51 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=gkJ2fdgs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232912AbjAHCNJ (ORCPT + 99 others); Sat, 7 Jan 2023 21:13:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233040AbjAHCMt (ORCPT ); Sat, 7 Jan 2023 21:12:49 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1555A15FE1 for ; Sat, 7 Jan 2023 18:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=n8y8MQVrWNjH6e1zcN2SX7rByEyJkNoM8CrUWsOVDAY=; b=gkJ2fdgsn8WnxrFLKMJNn5o1DN TB6pHxuKAdPUBAbvUecqKAu0V13l7uYgRIaqIsZOhuWs2DVcotefEL0s+KRIa7IY7iaPsrpCaILK1 9laEOh2VFdykkXhrums5Ldd/1u+MsKr67OgjloFv5x6BEMIi9Az0sk0DTrrlT4z0G296AQfE/n1wo Ky11QOkTTjEQk6k8WTHDBH4u07WvtjbcvXvyRJKEJoQ+j34Ac4Ry8txS17imo0e02S19GPIIN9AOB GY0eM0Y3SVE7PfVZ7IRyF0W5FLbfGs/I3gFB8c/K0taIuRg206D1Y4PCLVaKheOTB6UCROJAnyYI8 gXU+GDUw==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pELAz-00Aq8o-Gw; Sun, 08 Jan 2023 02:12:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Eric Biederman , Andrew Morton Subject: [PATCH] userns: fix a struct's kernel-doc notation Date: Sat, 7 Jan 2023 18:12:43 -0800 Message-Id: <20230108021243.16683-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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?1754418739100225673?= X-GMAIL-MSGID: =?utf-8?q?1754418739100225673?= Use the 'struct' keyword for a struct's kernel-doc notation to avoid a kernel-doc warning: kernel/user_namespace.c:232: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * idmap_key struct holds the information necessary to find an idmapping in a Signed-off-by: Randy Dunlap Cc: Eric Biederman Cc: Andrew Morton --- kernel/user_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/kernel/user_namespace.c b/kernel/user_namespace.c --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -229,7 +229,7 @@ void __put_user_ns(struct user_namespace EXPORT_SYMBOL(__put_user_ns); /** - * idmap_key struct holds the information necessary to find an idmapping in a + * struct idmap_key - holds the information necessary to find an idmapping in a * sorted idmap array. It is passed to cmp_map_id() as first argument. */ struct idmap_key {