From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C051A10FF for ; Tue, 8 Aug 2023 20:52:03 +0000 (UTC) Received: from out-96.mta0.migadu.com (out-96.mta0.migadu.com [91.218.175.96]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 624A315C41 for ; Tue, 8 Aug 2023 13:52:01 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1691527919; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0xvoeirahWFZ+3tNj8n9ficPcKAPak4lBFOk6V+FiJU=; b=NPb2ggKevHGdvXHMqS//lDI8x3nQGwGQPb6cUdkEMzTsiejj/VSYBxdNqn5UmY8lHHB/S1 +/Ng0nHQnpOnpnsQq0MxS1qC/Oy0q0Zjqge3DvakcnmYHiAHovNty6TNGkAu3NIF7g6E28 zQqWf+vcCwqAB400CTa7tQYQGMaWl0E= Date: Tue, 8 Aug 2023 21:51:55 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next v2 2/9] dpll: spec: Add Netlink spec in YAML Content-Language: en-US To: Jakub Kicinski Cc: Jiri Pirko , Arkadiusz Kubalewski , Jonathan Lemon , Paolo Abeni , Milena Olech , Michal Michalik , linux-arm-kernel@lists.infradead.org, poros@redhat.com, mschmidt@redhat.com, netdev@vger.kernel.org, linux-clk@vger.kernel.org, Bart Van Assche , intel-wired-lan@lists.osuosl.org, Simon Horman References: <20230804190454.394062-1-vadim.fedorenko@linux.dev> <20230804190454.394062-3-vadim.fedorenko@linux.dev> <20230808130327.5638d15b@kernel.org> <20230808130617.5ad74486@kernel.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20230808130617.5ad74486@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On 08/08/2023 21:06, Jakub Kicinski wrote: > On Tue, 8 Aug 2023 13:03:27 -0700 Jakub Kicinski wrote: >>> const struct nla_policy dpll_pin_parent_pin_nl_policy[DPLL_A_PIN_STATE >>> + 1] = { >>> [DPLL_A_PIN_STATE] = NLA_POLICY_RANGE(NLA_U8, 1, 3), >>> [DPLL_A_PIN_ID] = { .type = NLA_U32, }, >>> >>> >>> The "/* private: */" comment was added to the generator after Simon's >>> comment. But I'll include this part into the next version. >> >> We only added private for enum masks, I'll send a patch for nlattrs. > > On closer look these have no kdoc, so the priv markings are not > necessary, dropping them sounds right. Ok, I'll add the version which is generated by the script with the lastest patch, I mean with new line and priv markings. Thanks.