From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BA8AC04A6A for ; Tue, 8 Aug 2023 20:03:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DA7A340862; Tue, 8 Aug 2023 20:03:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DA7A340862 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1691525014; bh=YNYLuAlOAEUiY3VpHAWKe1YxfLFu9tWfekCKZXkGUeU=; h=Date:From:To:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=OT37+0q/y5s/en85lq9yf2CqYP2iMtHzWDWV1JhGFhdKjuL6Zm+aYFJR9tr0V0BTn DXc0gRDhXjXQXcqlS+HsHv53yXw83kMscGlo6l7XBDNfOH7twh1p1YEDemkWRVDhKk y+yXQuB9C0cMeCXHMPiVbsvsBJmzqS5lwe9PEkZfett59mX92Dbrl7YMCzfZn9JM1q QHfoWSh1mX8vNCLVCwnvCL7QLPUq+xqRDLFOoLloSxKB2iTVatbbzfT2m3SDXC+0b/ KVB1mZEYunEXpJGp9fWRjK97QP4xnCFbZS7iOlel5t6v5+Nd8+RBL0Nm1xN3yEHUC2 xSo8oWAwdCUOw== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vVxdwZufBWpL; Tue, 8 Aug 2023 20:03:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id B6C3940883; Tue, 8 Aug 2023 20:03:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B6C3940883 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 977FA1BF341 for ; Tue, 8 Aug 2023 20:03:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6EE3E80E66 for ; Tue, 8 Aug 2023 20:03:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6EE3E80E66 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6rx45MtQOiaz for ; Tue, 8 Aug 2023 20:03:30 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by smtp1.osuosl.org (Postfix) with ESMTPS id BCD2B80B6D for ; Tue, 8 Aug 2023 20:03:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org BCD2B80B6D Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 974A062BE6; Tue, 8 Aug 2023 20:03:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 918EEC433C7; Tue, 8 Aug 2023 20:03:28 +0000 (UTC) Date: Tue, 8 Aug 2023 13:03:27 -0700 From: Jakub Kicinski To: Vadim Fedorenko Message-ID: <20230808130327.5638d15b@kernel.org> In-Reply-To: References: <20230804190454.394062-1-vadim.fedorenko@linux.dev> <20230804190454.394062-3-vadim.fedorenko@linux.dev> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691525009; bh=XieZPduHjyDSjvr/8gZ88ZdbCP4k+VL3yfyNd86jhhw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dNjflAS3B1mZjhgu4XYMPMrOknEEnqRQ4UnDUtmF/wdZkTf9wwfnvuB025/6ZCMel 3MO9DSNyp3jMcES/AJwS2n6lxQiS66Rstw0RZalS34IIkFvpOcd+R0AL29usX7IkyI H+tKnwu0tcbrs0c/2n3u0aGS9F15ZEiH0arFKVnqTBE7nSlx8t1aIJdCgW+JpoF6WG dgNA3g1eIEaVHlaxYaItysPNSn31LkY9UeqnNtrtLkKDUheCfrraKEN0gpW2DDXcwR kwuqmYFMLnjW4HuSL63sL9Pz4EvfOZGLaNkTjlookm6FW6SDTGD9X/QEP4SB1iKdR7 6z8zDBRKM7wSw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=dNjflAS3 Subject: Re: [Intel-wired-lan] [PATCH net-next v2 2/9] dpll: spec: Add Netlink spec in YAML X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiri Pirko , Bart Van Assche , netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-arm-kernel@lists.infradead.org, Jonathan Lemon , Simon Horman , Paolo Abeni , linux-clk@vger.kernel.org, Milena Olech Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Mon, 7 Aug 2023 22:25:25 +0100 Vadim Fedorenko wrote: > Well, in my case after rebasing on latest net-next I got just part of > your diff: > > diff --git a/drivers/dpll/dpll_nl.c b/drivers/dpll/dpll_nl.c > index ff3f55f0ca94..638e21a9a06d 100644 > --- a/drivers/dpll/dpll_nl.c > +++ b/drivers/dpll/dpll_nl.c > @@ -17,7 +17,6 @@ const struct nla_policy > dpll_pin_parent_device_nl_policy[DPLL_A_PIN_STATE + 1] = > [DPLL_A_PIN_PRIO] = { .type = NLA_U32, }, > [DPLL_A_PIN_STATE] = NLA_POLICY_RANGE(NLA_U8, 1, 3), > }; > - Uh, missing cw.nl() somewhere. Will add. > 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. _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA4DCC001DB for ; Tue, 8 Aug 2023 21:13:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235879AbjHHVNW (ORCPT ); Tue, 8 Aug 2023 17:13:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235955AbjHHVNG (ORCPT ); Tue, 8 Aug 2023 17:13:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B36920246 for ; Tue, 8 Aug 2023 13:03:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9F3F262C06 for ; Tue, 8 Aug 2023 20:03:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 918EEC433C7; Tue, 8 Aug 2023 20:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691525009; bh=XieZPduHjyDSjvr/8gZ88ZdbCP4k+VL3yfyNd86jhhw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dNjflAS3B1mZjhgu4XYMPMrOknEEnqRQ4UnDUtmF/wdZkTf9wwfnvuB025/6ZCMel 3MO9DSNyp3jMcES/AJwS2n6lxQiS66Rstw0RZalS34IIkFvpOcd+R0AL29usX7IkyI H+tKnwu0tcbrs0c/2n3u0aGS9F15ZEiH0arFKVnqTBE7nSlx8t1aIJdCgW+JpoF6WG dgNA3g1eIEaVHlaxYaItysPNSn31LkY9UeqnNtrtLkKDUheCfrraKEN0gpW2DDXcwR kwuqmYFMLnjW4HuSL63sL9Pz4EvfOZGLaNkTjlookm6FW6SDTGD9X/QEP4SB1iKdR7 6z8zDBRKM7wSw== Date: Tue, 8 Aug 2023 13:03:27 -0700 From: Jakub Kicinski To: Vadim Fedorenko 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 Subject: Re: [PATCH net-next v2 2/9] dpll: spec: Add Netlink spec in YAML Message-ID: <20230808130327.5638d15b@kernel.org> In-Reply-To: References: <20230804190454.394062-1-vadim.fedorenko@linux.dev> <20230804190454.394062-3-vadim.fedorenko@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Mon, 7 Aug 2023 22:25:25 +0100 Vadim Fedorenko wrote: > Well, in my case after rebasing on latest net-next I got just part of > your diff: > > diff --git a/drivers/dpll/dpll_nl.c b/drivers/dpll/dpll_nl.c > index ff3f55f0ca94..638e21a9a06d 100644 > --- a/drivers/dpll/dpll_nl.c > +++ b/drivers/dpll/dpll_nl.c > @@ -17,7 +17,6 @@ const struct nla_policy > dpll_pin_parent_device_nl_policy[DPLL_A_PIN_STATE + 1] = > [DPLL_A_PIN_PRIO] = { .type = NLA_U32, }, > [DPLL_A_PIN_STATE] = NLA_POLICY_RANGE(NLA_U8, 1, 3), > }; > - Uh, missing cw.nl() somewhere. Will add. > 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 475CAC001B0 for ; Tue, 8 Aug 2023 20:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kaQYrYU0OotcULYL/uYJfVQBV4B4IXOe/1bIXgK+kwg=; b=VPLiTyrWm/CtSt TpzqlnClYeA0E21YK+oHVt120wAFT2/7WoSk8qhJX78uh5yoArNmddKtMT3B/3j6qskY87wNas68/ AIudFkszRNPpwpD0hRAGgBZHbPIdu3d2RuYw5V455v4xeELew6FxYdPOlUt+NgqOF6fiLxGRdLgRT 7OcVInq1//wBVvVgt+997FdzoWs400s1FMRDcmEd6q9N9eCC7+3eCOkHLIwsQPWTkYHGvBB6Bx1Al pxkoHTUIbOSD3Sqsqp7dTrFzoyKNByLXhT2RWoR4zjcxUs7af1yjtB+g52ZfVqC7+zkIYm0ljEWy0 vQF3hhvYOrVqIgC8Edzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTSvU-003NDN-2r; Tue, 08 Aug 2023 20:03:32 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTSvS-003NCi-0w for linux-arm-kernel@lists.infradead.org; Tue, 08 Aug 2023 20:03:31 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 974A062BE6; Tue, 8 Aug 2023 20:03:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 918EEC433C7; Tue, 8 Aug 2023 20:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691525009; bh=XieZPduHjyDSjvr/8gZ88ZdbCP4k+VL3yfyNd86jhhw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dNjflAS3B1mZjhgu4XYMPMrOknEEnqRQ4UnDUtmF/wdZkTf9wwfnvuB025/6ZCMel 3MO9DSNyp3jMcES/AJwS2n6lxQiS66Rstw0RZalS34IIkFvpOcd+R0AL29usX7IkyI H+tKnwu0tcbrs0c/2n3u0aGS9F15ZEiH0arFKVnqTBE7nSlx8t1aIJdCgW+JpoF6WG dgNA3g1eIEaVHlaxYaItysPNSn31LkY9UeqnNtrtLkKDUheCfrraKEN0gpW2DDXcwR kwuqmYFMLnjW4HuSL63sL9Pz4EvfOZGLaNkTjlookm6FW6SDTGD9X/QEP4SB1iKdR7 6z8zDBRKM7wSw== Date: Tue, 8 Aug 2023 13:03:27 -0700 From: Jakub Kicinski To: Vadim Fedorenko 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 Subject: Re: [PATCH net-next v2 2/9] dpll: spec: Add Netlink spec in YAML Message-ID: <20230808130327.5638d15b@kernel.org> In-Reply-To: References: <20230804190454.394062-1-vadim.fedorenko@linux.dev> <20230804190454.394062-3-vadim.fedorenko@linux.dev> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230808_130330_377149_B621F0BC X-CRM114-Status: GOOD ( 15.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 7 Aug 2023 22:25:25 +0100 Vadim Fedorenko wrote: > Well, in my case after rebasing on latest net-next I got just part of > your diff: > > diff --git a/drivers/dpll/dpll_nl.c b/drivers/dpll/dpll_nl.c > index ff3f55f0ca94..638e21a9a06d 100644 > --- a/drivers/dpll/dpll_nl.c > +++ b/drivers/dpll/dpll_nl.c > @@ -17,7 +17,6 @@ const struct nla_policy > dpll_pin_parent_device_nl_policy[DPLL_A_PIN_STATE + 1] = > [DPLL_A_PIN_PRIO] = { .type = NLA_U32, }, > [DPLL_A_PIN_STATE] = NLA_POLICY_RANGE(NLA_U8, 1, 3), > }; > - Uh, missing cw.nl() somewhere. Will add. > 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel