Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1813112rwb; Thu, 29 Sep 2022 02:35:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48G7qclBATx1rFw8kco+QngQKnH+wJfv6lrQ3b0L5KpQL3OgNShYplvQQYcmnjXAhhjFFg X-Received: by 2002:a17:907:a07a:b0:77c:f98e:ab8c with SMTP id ia26-20020a170907a07a00b0077cf98eab8cmr1946721ejc.69.1664444112330; Thu, 29 Sep 2022 02:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664444112; cv=none; d=google.com; s=arc-20160816; b=UpjVZxKECkuSiwYffCATrojFxhV7yZAQB3ecFFFFIQujhHIi8RHkDLhEdy5QhO8C3s mWluZmATb5RBCDuRpPc5qfUAAlOu7UGCTPyHvkW1CAOcAkwzMoaWcEDQfy7liHkhAzrl XVGa8WB8aXhVb+59tBQq/G3lvhzy9vnzosS+aVhNI1psPplWWBqIxHPCgXm+aRwhdxJC 1a+0Jwn1MFXJ6Y8xYsAz094p1qncYHBMkIBxgE4VbDBwPf6jIgHuq7WWUKj1/pI6pRQA 8dknrk+Z6JW8JbH+wnAY+VExbzywsE+Yz/RfMxfvu9uar1M1fWSVdVj1KmUKtGdZaFEH qlEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=0C1ADrNhWq4SgCOE1c9HyxUa4NY3kk4iTNnLwxhikYg=; b=aK/p4Ygi4YsrE4GfqBzJD/tx2fLcRLOG/v9rhA7ukHSao2vBfYdzFQ8LCuKMxiInyw 21USxVPe6K5OPWzslPYpOOVeuK8BWpbLL2utX3f4ap9NCNu1O7i/zIte1qpdNfRbXeEc BfSoWIXPV4iY99mMnZnEy02INsB60y9oZmmoktA26SIMJNywJ/bHFH9w1FiQtegziZj8 96lS8tbQd9IQlV3m+wPbIj5gX9P+fbY5qmYntQRUomnbQqPnO0rfVEO/D9ca3wEmiu1Q cbrY0SndcxixJ00mNgs3ktoFIQ4BBJRMAtw7fF8/dIrpDv1hmmLo9U8PqpjGa9ZeB0Sj /NHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AO45MrGI; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd37-20020a1709076e2500b0073d61f9a7b6si8388393ejc.263.2022.09.29.02.34.46; Thu, 29 Sep 2022 02:35:12 -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=@intel.com header.s=Intel header.b=AO45MrGI; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235237AbiI2J0C (ORCPT + 99 others); Thu, 29 Sep 2022 05:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235154AbiI2JZs (ORCPT ); Thu, 29 Sep 2022 05:25:48 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB63610FE16; Thu, 29 Sep 2022 02:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664443545; x=1695979545; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=mOKSZ4gt8N3oR2TFgzHf+H1VytXoQVKrtFoK/lXXaQ4=; b=AO45MrGI3bWm9dmOJYsjQEuMNeTCSLuAYRBVITr44LOU7W97Pk84qh9A ftfVJjkDEUdWy67WMUsiGYCehmZsCpge4IrQSmOiHiMGHn1XN8l/heiZl S+edYX189Syzd5vnnZWP/gsTu8/GPVgrtUCt8wAxYyOMl1NX3TqzWhVSo aX6eZIZUfJM0gIIN6+qfiY6MkuokmMqW0UXWg4azTBGCYLKD9NcprkEbI KFhYBipuevjcOVo+YT5jMh7ihwU02j09gszMcPx6azbyNOHTg8meuQJcu sAOu7/zxIqV1DU2wr8vu2rglVDbbXWroXrUbZQQ7eiobaeJclf6ZklLC8 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10484"; a="303329359" X-IronPort-AV: E=Sophos;i="5.93,354,1654585200"; d="scan'208";a="303329359" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 02:25:43 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10484"; a="573386024" X-IronPort-AV: E=Sophos;i="5.93,354,1654585200"; d="scan'208";a="573386024" Received: from pramona-mobl1.ger.corp.intel.com ([10.252.60.139]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 02:25:40 -0700 Date: Thu, 29 Sep 2022 12:25:38 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Bagas Sanjaya cc: linux-doc@vger.kernel.org, Jonathan Corbet , Jiri Slaby , Greg Kroah-Hartman , linux-serial , LKML , Andy Shevchenko , Akira Yokosawa Subject: Re: [PATCH v3 1/4] serial: Convert serial_rs485 to kernel doc In-Reply-To: <71effcc8-7345-28cd-6585-eb729fb4c6db@gmail.com> Message-ID: References: <20220928110509.13544-1-ilpo.jarvinen@linux.intel.com> <20220928110509.13544-2-ilpo.jarvinen@linux.intel.com> <75f07dbe-d1dd-ac18-5c8e-e6972e7fb28b@linux.intel.com> <71effcc8-7345-28cd-6585-eb729fb4c6db@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-209069814-1664443542=:1640" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-209069814-1664443542=:1640 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 29 Sep 2022, Bagas Sanjaya wrote: > On 9/29/22 15:39, Ilpo Järvinen wrote: > > On Thu, 29 Sep 2022, Bagas Sanjaya wrote: > > > >> On Wed, Sep 28, 2022 at 02:05:06PM +0300, Ilpo Järvinen wrote: > >>> diff --git a/include/uapi/linux/serial.h b/include/uapi/linux/serial.h > >>> index cea06924b295..6e347eb10b1f 100644 > >>> --- a/include/uapi/linux/serial.h > >>> +++ b/include/uapi/linux/serial.h > >>> @@ -107,37 +107,57 @@ struct serial_icounter_struct { > >>> int reserved[9]; > >>> }; > >>> > >>> -/* > >>> +/** > >>> + * struct serial_rs485 - serial interface for controlling RS485 settings. > >>> + * @flags: RS485 feature flags. > >>> + * @delay_rts_before_send: Delay before send (milliseconds). > >>> + * @delay_rts_after_send: Delay after send (milliseconds). > >>> + * @addr_recv: Receive filter for RS485 addressing mode > >>> + * (used only when %SER_RS485_ADDR_RECV is set). > >>> + * @addr_dest: Destination address for RS485 addressing mode > >>> + * (used only when %SER_RS485_ADDR_DEST is set). > >>> + * @padding0: Padding (set to zero). > >>> + * @padding1: Padding (set to zero). > >>> + * @padding: Deprecated, use @padding0 and @padding1 instead. > >>> + * Do not use with @addr_recv and @addr_dest (due to > >>> + * overlap). > >>> + * > >> > >> I don't see definition of fields after @delay_rts_after_send in the > >> htmldocs output. > > > > So it seems, this one I had missed. I guess the reason is that those > > members are inside anonymous unions. But the formatting follows what > > is documented here AFAICT: > > > > https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#nested-structs-unions > > > > Kerneldoc doesn't seem to live up to what is documented about it. It's a > > bit ironic that documentation system fails to document even itself to > > sufficient level, and what's worse, seems to be full of faulty examples. > > > > Any suggestions how to make it work? > > > > CC'ing Akira. Nevermind, I figured out where the problem is (my incorrect use of private: markers). -- i. --8323329-209069814-1664443542=:1640--