Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp918430rwr; Fri, 5 May 2023 06:53:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dva9iP6yAIfk+VixIted97W7QnnXSlScavEZkNsJGou7a/Z5Ujtx7EfOtaM0XxI+dsB1n X-Received: by 2002:a17:90a:6c46:b0:234:889f:c35d with SMTP id x64-20020a17090a6c4600b00234889fc35dmr1629270pjj.3.1683294809893; Fri, 05 May 2023 06:53:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683294809; cv=none; d=google.com; s=arc-20160816; b=wQHfFKp89R+ymHiwZqEhXl86PiZTodwH9qm7oqdW2S5Anbz0bbE0Xv8jYGLF1hl/ag hsL60K6fKF7XQEOq4DAJdTKzCuB17d98vvHFGtkCtzIuCeR/iXbUJnnen0Xz3Q+47Eqa bXryEp8DbbK20RZ3oOfYWgjcLE6nW3cbdT6+WfXoMQav0m5kpDDCU6trraZ59AQlZvNZ JHJcTaBI24kpvHFOMwLZMmEgeFU6SlK4qzPMPEnmXnMm5ADI4PHrciPiAPdg6aTH8O3F tRRqpVZX8RKXytrXAqALuX1YvzTc/JrLoV9EV72bWbJ3gIUyf0nFBFqsErpDcXo440+i +92w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=jdXhOVy2KMLa5873OS7jS/gpPkG+MRIdvwBG6rYttG8=; b=VyT8mBuFSAnLfUUCPu0i01LZhP73YOq+qo8bRy9R+fnW1Liwba3RFhQ1QRkbUNiXd7 RD/82wGwefmwitZVaYIgOv42auzyTNB+iiA2P2lE0N1c/2MfAA3qM8w+s7rWIn5krsaa JO5HGYONqHzHglY4rIYCHaiErc7VXlt75qgEfun6JIWar+wcTpgdnnrYNpH1zBJ1hwSC mliKIFJO7J++JPIcQPjMkCvWgMcf3MMs+H3zWYOKxmynccaZ/9fj+tgLJCtFip55tC5g 9l/w8lVncpHOcbTLkjT523ekWabrU28fs8Y92y+EExsexA2PoWXoHoFEbb6rbQNK4JRD GWvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=a1MWLmJT; 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 k71-20020a63844a000000b005138e3da7e7si2203787pgd.467.2023.05.05.06.53.16; Fri, 05 May 2023 06:53:29 -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=@gmail.com header.s=20221208 header.b=a1MWLmJT; 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 S232601AbjEENbB (ORCPT + 99 others); Fri, 5 May 2023 09:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbjEENbA (ORCPT ); Fri, 5 May 2023 09:31:00 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39BBB203CD; Fri, 5 May 2023 06:30:57 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1aaec9ad820so16236335ad.0; Fri, 05 May 2023 06:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683293456; x=1685885456; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=jdXhOVy2KMLa5873OS7jS/gpPkG+MRIdvwBG6rYttG8=; b=a1MWLmJTX6yJ9OtYpzs066urW8nsFrP8te/CvF8bR5wQG9LYs/fV8EWGjrSuJN16+j qc/s3SG8LpYKl4iMH8UYBYjEM2L4zoWv0WAjMAYjB25KZd0Yj+1mJE3RyHDL4SWXwxTz ohIdeI1Pz5kFmpYfNGwaKT+5MQwvrM+B+QyQqVMOFQLVsgPCJyCtEajM14VGRe0hGxUf y2RswLv7QAa54lBPEZLpSw5lVgvgoSS8kpE38cxkzeFCGKZ0lqSVI8IOdDeHLljsqZwR hJKAdqf4YHPGE96YQVz3m7iRXQHkcKOlDjV6dQ73T1x/y3oOT//UPcrZzbMdOw8y8l0N efRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683293456; x=1685885456; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jdXhOVy2KMLa5873OS7jS/gpPkG+MRIdvwBG6rYttG8=; b=fNzv1n/Y0s4ykFxpZ68VzbroMhR1PTSfdZzNp6jhza/J/n75HImV52QhHFvOHxFJ8s pYkMGz1JYKgcJjKFbGWQFTlsOZFjEHQAcQ0XVyKIGzSiJv7XWMXS1DsJwujjEV9KGOjS 5gPCihsuOIw+Be6VZGBcrNL/bx4tegVarZBM6wSFDlMJGa9YS48qa+Y9wLw5TAkEcf5c xgUCmIOsLaEbC5VzElvgfROK9A+TbguEN84qGBknnhItzqeyJRm0j9J0G29T+MlI83S6 1JMwTFTXP9h3yOgqNjWEnYBS/HilrUPw+ssMojYICd+GlMxyuiaFI1+vlvoIgcHK+y9X KGGg== X-Gm-Message-State: AC+VfDzY0qGvufIn5hOhIhvIdHHDLXh9SNE7iSlYpioaolu32PYxSg6k WdRE+4CYKXbVZ96FiYK2Vw8qyb5isFA= X-Received: by 2002:a17:90a:8a18:b0:246:b973:de35 with SMTP id w24-20020a17090a8a1800b00246b973de35mr1601732pjn.4.1683293456564; Fri, 05 May 2023 06:30:56 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id q4-20020a17090a304400b0024e2230fdafsm7094681pjl.54.2023.05.05.06.30.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 May 2023 06:30:55 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Fri, 5 May 2023 06:30:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [RFC 02/11] hwmon: (core) Rename last parameter of devm_hwmon_register_with_info() Content-Language: en-US To: James Seo Cc: Jean Delvare , Jonathan Corbet , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230504075752.1320967-1-james@equiv.tech> <20230504075752.1320967-3-james@equiv.tech> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On 5/5/23 06:15, James Seo wrote: > On Thu, May 04, 2023 at 08:29:57AM -0700, Guenter Roeck wrote: >> Please please please no such changes. I don't want to have to deal with >> patch wars just because people believe variables should have other names. >> >> Such changes add zero value unless one counts wasted review time as a "value". >> >> Guenter >> > > Hello, > > Of course arbitrarily changing variable names is pointless. But this > patch fulfills the intent of 848ba0a2f20dc121a3ef5272a24641d2bd963d8b, > which makes this change for devm_hwmon_device_register_with_info() in > hwmon-kernel-api.txt and in hwmon.h - but not in hwmon.c. The same > commit makes the same change for hwmon_device_register_with_info() in > all three files, so it obviously should have been in tree already. > > The other reason for this patch is that for the purpose of generating > function documentation from kerneldocs, it is not feasible to call > this parameter "extra_groups" in the kerneldoc and still call it > "groups" in the function itself. Doing so results in the lines > "const struct attribute_group **groups / undescribed" and no mention > of "extra_groups" in the generated document. Leaving things as is, so > that [devm_]hwmon_device_register_with_info() have different names > for this parameter, is potentially confusing and more noticeable to > to the eye than I would like once rendered. > > Is this good enough to proceed? And as a subsystem maintainer, is > there anything else, specifically or in general, that you would like Marginally. That should have been explained in more detail in the description. > to see addressed? > I don't know. There are changes which seem to be more based on POV than real improvement (such as the removal of the credit from the PMBus document). I'll have to verify each and every reference to determine if the change is appropriate. Also, the changes are substantial. It will take a lot of time for me to review, and right now I do not have that time. I have a hard time keeping up with code reviews. Guenter