Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp622612pxh; Tue, 9 Nov 2021 16:20:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhRLvE9GAMWGNwMMaF0WN2DKmT/H7HwPLZCobWK33BNygzDQum2oQ24mMGbZ3Ca/9TkKOa X-Received: by 2002:a02:c60b:: with SMTP id i11mr9317029jan.15.1636503637800; Tue, 09 Nov 2021 16:20:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636503637; cv=none; d=google.com; s=arc-20160816; b=04aQcPJ0trV1E/cphycgg+PZIL/9H0CvDZszCJV8GoNBLPU3Bk3qPWGf9isRz6VNEJ 0eYsq07oLsLK083/Cj2g3JFVWkbfu6JuQrjEdBcj5hjTCe1nAlZCdjRFjQbWZZ6cDpRQ QChLSV5HABe4rtR+yJj1VIexZhW8qKYBJl8Ca9hWOhiMoQwnQcQ4XIX+3SWSIsaLXJ/j ReCm2VJAf0UY0gcOneeer8FvXn7IsrJdGRI6On2+6gRlsnrsnJNw65zCMlOHXbo/ksMp +DIhJvgKf5+8ZRys1fwvU7pzSjxQ+3Pnr3+n4bgijJzA/qi9RNchgubOI6kM0Bm3eKfa TaaQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=k9OffywahQgnSC/QJ1NyxfTjjP1psGZwavJWBVx5iCw=; b=OJAl7DxS/KCdFfMe441Pxd3UaxxtmkDtz9aeUscNOExpljXWSsN+GYiFrHPcyobp6O MqdcEnEkzEGaxWJYJKMuO4zniNCR5WQZV9lcxpjiavYmIfRV6c/W/3V20R0pE2ZhHajq 2xb8Wm3CQhiYqjvaZFtsLDwiTKudPnCY7z8hfm8U+epqCm9bJ483zfbAp+LVyIgeIpYq P7HpwGZ1MXvaeq3g4QHnukVccC3vu4lhu2fnCOJGZdRbcGVG4p3d3OeXVNsF8u68noZv kdQcySFeywbLiSYAj+75mswsltVSM5ZBV7JzaVkPQNl5JTLO++tQkfgC5GJtYs4Fyi5m 2SNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=T1+sNnAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si50676753ila.39.2021.11.09.16.20.25; Tue, 09 Nov 2021 16:20:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=T1+sNnAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244773AbhKIU4I (ORCPT + 97 others); Tue, 9 Nov 2021 15:56:08 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:53364 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244754AbhKIU4I (ORCPT ); Tue, 9 Nov 2021 15:56:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=k9OffywahQgnSC/QJ1NyxfTjjP1psGZwavJWBVx5iCw=; b=T1 +sNnAvpGVLRTCCwaQlw7ikYFuaoqCUGdQqSQTMpOaQ1W9DgpO6Jvo17mFU968FtlTfa60gz+w4lYc 0ZhgJ3iMbEADPj8eJNRjxSBuuExnnCdU0LBanouEx5SdAYWc99l/kgOxuHTTfEtd6o1jrHO3mTTHF 3NsaJ1IY4Bksc5s=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mkY7H-00D1Rp-TP; Tue, 09 Nov 2021 21:53:15 +0100 Date: Tue, 9 Nov 2021 21:53:15 +0100 From: Andrew Lunn To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: Ansuel Smith , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Jonathan Corbet , Pavel Machek , John Crispin , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [RFC PATCH v3 3/8] leds: trigger: netdev: drop NETDEV_LED_MODE_LINKUP from mode Message-ID: References: <20211109022608.11109-1-ansuelsmth@gmail.com> <20211109022608.11109-4-ansuelsmth@gmail.com> <20211109040257.29f42aa1@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211109040257.29f42aa1@thinkpad> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 04:02:57AM +0100, Marek Beh?n wrote: > On Tue, 9 Nov 2021 03:26:03 +0100 > Ansuel Smith wrote: > > > Drop NETDEV_LED_MODE_LINKUP from mode list and convert to a simple bool > > that will be true or false based on the carrier link. No functional > > change intended. > > The last time I tried this, I did it for all the fields that are now in > the bitmap, and I was told that the bitmap guarantees atomic access, so > it should be used... > > But why do you needs this? I guess I will see in another patch. I agree with Marek here. The commit message says what you have done, which is not very useful, i can read the patch. What it should include is why you have made this change. The why is very important in the commit message. Andrew