Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10514453rwd; Thu, 22 Jun 2023 00:38:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72Us12vuljjyLhFSIu40s3abZlr1WBOHUd7vBLurne/zbXzv4hnv3P7QrD65Oh3BmC30N0 X-Received: by 2002:a05:6a21:78a7:b0:10b:e88f:597c with SMTP id bf39-20020a056a2178a700b0010be88f597cmr8359582pzc.44.1687419513619; Thu, 22 Jun 2023 00:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687419513; cv=none; d=google.com; s=arc-20160816; b=GTj54C8xS2QjapcHH4+zDxBILwcWaHutTjFFh8ZUzqQ8NqG5Ro76f85BG8vrTiv99E umStViVsDRU+BzyXOUeP8HGa4kOPXjP8eqhe0XwYQRO9VD5FdMCft6JfNdIpoBzIX5u5 gIV1xQQGbCdZk/15FZISLfzOL1SWhlq6sXSgp7XhwS0/LM+2xVpKdaju+F/cf75ZHDA+ TTcscNsMjJ9jsi/iAvAoA42UIIwCp6nyuaq+YihuHzbA1rg5Beips5o+drE4hRLArJeW 4ASGjwd5SMirJmwH6GE95jkvcLMJZVnF98qb8kRovJ4WtVcTH6ylGvnqLWsgnLPmWfvt wyZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VIhSOYk52hVuqfcboW85OQLI0NHly7jy25hrkyJ2YAw=; b=UmRqw6xhbWxskp7+ubiZQeyJwLxJwNVjjKYzQePieq+n1sE17OvZW0psAYV4REphR4 7pnO4R7as+hTr2GmQlSoQR72cBU3ihK+fnHPQ7mfrdBg0Qqg4iwHBkGj0ze6l/Av3Ayy n09hNFUZP8bC/T/jXPetwUX5HWWYHrtvGBYYDz/DCM5ndtqrk8Kr2oArFGG99wWVASqK FC25Fv8H4i628SaL4W/YQiZXKwKgzaxKcPbkCF8iqZgh7gqpkehUI/4nbzQX6WxrhHnM he4R9CQ/S9XFYHyZf8XuyDm9cekkH117u/6b27MUa5fAl40MpHE36SVu1tY5iV0PaGtF 0y9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=WZQ2qdOU; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g24-20020aa796b8000000b0065f12af3ec9si5682726pfk.231.2023.06.22.00.38.21; Thu, 22 Jun 2023 00:38:33 -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=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=WZQ2qdOU; 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 S229852AbjFVHGO (ORCPT + 99 others); Thu, 22 Jun 2023 03:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbjFVHGN (ORCPT ); Thu, 22 Jun 2023 03:06:13 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72DC51BD4 for ; Thu, 22 Jun 2023 00:05:59 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f90a7325f6so57288935e9.3 for ; Thu, 22 Jun 2023 00:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20221208.gappssmtp.com; s=20221208; t=1687417557; x=1690009557; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VIhSOYk52hVuqfcboW85OQLI0NHly7jy25hrkyJ2YAw=; b=WZQ2qdOUncD9AsxUeqky0Sv9plZI/2WtRmFLj/vUPrLspAKtFdJAjDNBfRiM90Wl6l Bu52No9UiIMeNp5vJfqV4tdzKNy4gqSSkZZgdTA2tEhX9UhJ0VFvTD1WUjcyZjBnxsqM CY6kI+W0r2aC0t58Ot4ae4EkJpbEUxEO+qU0IzQugmgTpIX9f4Vdc6bAsBsmzf0/VZPu oMD/OCT9ypK+CBaNDZaMdjjZbvVgK6KKjigdSYdUY6tPiNMyp/u8BcNpj7C6Q76VkPqd cFeXbCEhZGKbNKcefxvBWXoomyu9ZEWY69AGbsxFJ97j4shY74xka5Cdz8D7NjEiYYcZ YJOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687417557; x=1690009557; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VIhSOYk52hVuqfcboW85OQLI0NHly7jy25hrkyJ2YAw=; b=iTY6SFmeymwTdd/hJk1Xs9tAlT4V7RoehZJRmPNdH2tHEiAMNPCPHqG89J14GMJOqf ojrAq0o7yM7C7t18B4SxQCkaV0R6hRuyOnC0dgy+qZCCriXnh1ukoi+mH9aUsQVr2mLr VCWW0v2qwsz4NP+eLNl25GX6cAZV99cK3Gi67wVfAvnulXy/mbj+SIwR+j9sarax4RYA 3YAwN0ES7wl5+Hj8NB3IY6JJomKAPLpB6Xqq5RoxdN1b7aR56nx91Xle6XcMx8PaNfFV n4q7F5/3in4/AaQ8MXzryOaN6U6WTyG0ecrqu18DMRe7RzwnQKGwDnvpPlNtY871KC9D jtVg== X-Gm-Message-State: AC+VfDx7bW3hGnSB8iOb+UTJ5u9WD3YIUNtM2wjHzbJuXDZwEH8eswdz dIWOBpvXusA5j+VzMq+Mo9GHWw== X-Received: by 2002:a1c:7415:0:b0:3fa:77c8:6724 with SMTP id p21-20020a1c7415000000b003fa77c86724mr51349wmc.10.1687417557595; Thu, 22 Jun 2023 00:05:57 -0700 (PDT) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id 17-20020a05600c231100b003f8ec58995fsm6919930wmo.6.2023.06.22.00.05.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 00:05:57 -0700 (PDT) Date: Thu, 22 Jun 2023 09:05:56 +0200 From: Jiri Pirko To: "Kubalewski, Arkadiusz" Cc: "kuba@kernel.org" , "vadfed@meta.com" , "jonathan.lemon@gmail.com" , "pabeni@redhat.com" , "corbet@lwn.net" , "davem@davemloft.net" , "edumazet@google.com" , "vadfed@fb.com" , "Brandeburg, Jesse" , "Nguyen, Anthony L" , "M, Saeed" , "leon@kernel.org" , "richardcochran@gmail.com" , "sj@kernel.org" , "javierm@redhat.com" , "ricardo.canuelo@collabora.com" , "mst@redhat.com" , "tzimmermann@suse.de" , "Michalik, Michal" , "gregkh@linuxfoundation.org" , "jacek.lawrynowicz@linux.intel.com" , "airlied@redhat.com" , "ogabbay@kernel.org" , "arnd@arndb.de" , "nipun.gupta@amd.com" , "axboe@kernel.dk" , "linux@zary.sk" , "masahiroy@kernel.org" , "benjamin.tissoires@redhat.com" , "geert+renesas@glider.be" , "Olech, Milena" , "kuniyu@amazon.com" , "liuhangbin@gmail.com" , "hkallweit1@gmail.com" , "andy.ren@getcruise.com" , "razor@blackwall.org" , "idosch@nvidia.com" , "lucien.xin@gmail.com" , "nicolas.dichtel@6wind.com" , "phil@nwl.cc" , "claudiajkang@gmail.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "linux-rdma@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , poros , mschmidt , "linux-clk@vger.kernel.org" , "vadim.fedorenko@linux.dev" Subject: Re: [RFC PATCH v8 03/10] dpll: core: Add DPLL framework base functions Message-ID: References: <20230609121853.3607724-1-arkadiusz.kubalewski@intel.com> <20230609121853.3607724-4-arkadiusz.kubalewski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Wed, Jun 21, 2023 at 08:55:35PM CEST, arkadiusz.kubalewski@intel.com wrote: >>From: Jiri Pirko >>Sent: Saturday, June 10, 2023 7:38 PM >> >>Fri, Jun 09, 2023 at 02:18:46PM CEST, arkadiusz.kubalewski@intel.com wrote: >>>From: Vadim Fedorenko >>> >>>DPLL framework is used to represent and configure DPLL devices >>>in systems. Each device that has DPLL and can configure inputs >>>and outputs can use this framework. >>> >>>Implement core framework functions for further interactions >>>with device drivers implementing dpll subsystem, as well as for >>>interactions of DPLL netlink framework part with the subsystem >>>itself. >>> >>>Co-developed-by: Milena Olech >>>Signed-off-by: Milena Olech >>>Co-developed-by: Michal Michalik >>>Signed-off-by: Michal Michalik >>>Signed-off-by: Vadim Fedorenko >>>Co-developed-by: Arkadiusz Kubalewski >>>Signed-off-by: Arkadiusz Kubalewski >>>--- >>> drivers/dpll/dpll_core.c | 953 +++++++++++++++++++++++++++++++++++++++ >>> drivers/dpll/dpll_core.h | 104 +++++ >> >>Overall, looks very good! I pinpointed couple of nits below, nothing big. >>General question: Why do you put documentation comment to every static >>function? Does not make any sense to me. Even for non-exported functions >>I think it is overkill. Most of them (if not all) give the reader no >>additional information and only make the code a bit harder to read. >>Care to drop them? >> > >I forgot to respond here.. I would rather leave it, but if the others think >the same way, we could remove them. Could you explain what is the benefit of leaving them? What are they good for. From what I see, they are obvious and only add blank LOC.