Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1112133pxb; Tue, 9 Nov 2021 05:24:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7KgT+o3Nnby3tcsO/LBRadJ8IvaZV8czt1wM08Cly0FsWrW9Fmn7d8e1z1j+fexmpnPSj X-Received: by 2002:a05:6e02:12ec:: with SMTP id l12mr5048680iln.16.1636464298944; Tue, 09 Nov 2021 05:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636464298; cv=none; d=google.com; s=arc-20160816; b=tEMcK1pMQKELN5LrX0kHvKxde0jCqpsNX/AWL2sH/fbHSwnw1o9VSXrDvYJotMpSQO vEE3pqL/p1mu7BVATifL/CPK9gjc0+k6x/w+WfiVeFXVdH4lTJH24aRgZqxrnztenLO7 jEx+ZDKNM29KEWP8kBSsgyTHk2xppy/zVSGW22Ry6+2IHBUWPFF1Qjp9V2bPCKun/pJB 5LCUdeAwse0zY/WuB/1EfDNIrqN0SDDTqMzgRoQx9GdI4jtPozsYTwnnEMcIW7RYn8eT HafIoR88pIl+PLvIo34r72sOSAFnjRLNpRalEmmOEfF0jDgNi2kZPIGT1kWrMIdvOR0r 7l7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=sagsqQekm4dQraj0RG6clHYAL2Pgkk+xAj+z58qAkUU=; b=0M51Te113963jj5/WTOYTupPl7U2VrFL++Me3T5zZHZpc8qHvXvSf5hJTcm8h5wkJw QoWT7pkPOaiCllRgSM8d7+o44EwpEEJsS7K4XPNKEwe2jKQOWOJUjBgDHfmi/Ni8l9g2 bd4ydRL21a0h5R3JRjVzA/LQVvap4aI/jFpkWJsdR9AdTybZKqy66Afu1TJpGvGguMwa UPIEk5JBcdlijJt5f2v+ouUjKQgPvTebddJ1vX1Tflg5e8F5u4cCWL0Q0EcLEMUrL2Ub CevQ716XO6F/kWb7PvO+83SDgE+9nVUJnEp10W4IB0ui9MhZBbuZOgPDHPLIxgiSHC4A 1Hvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nwz+qwHU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si30130248ilz.95.2021.11.09.05.24.41; Tue, 09 Nov 2021 05:24:58 -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=@kernel.org header.s=k20201202 header.b=Nwz+qwHU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242285AbhKIDFx (ORCPT + 99 others); Mon, 8 Nov 2021 22:05:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:60694 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242316AbhKIDFs (ORCPT ); Mon, 8 Nov 2021 22:05:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 036CD61107; Tue, 9 Nov 2021 03:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636426982; bh=mAPRGTo8qEALDIeot6JiMQ1fThLG8fXVOip31PH+G/U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Nwz+qwHUtlX6tZCT9XGrvCZN1EPyIn9OJPXHklYAgQeUgd+KxX8GSB4MJbUp72fCk iWp+4rMq+5f9D3GnBetsiUhQ5A6uQ97z4ktp1JvWjiZrA+X63d/fj6S5P7YPHB6C2F j60O96yW8lon3P37HXm+gVQWAJv++5xD4JUOzqZ86NE4IjvYQIq89T2hJI4QH7VdPk Rfhk0OBT2keMT8hMjMQje/ZSeGP5uzQB6k8bmtL6+W3MAHMDNCaJuiSkd/2mkFRTXZ yFn19aU8aXQVRJxqiwDGWvLCiC/ydV1xosPr+R4qoLlgITmLHdmmvKuNi0EAmLs/cX krESrdRXcVQaA== Date: Tue, 9 Nov 2021 04:02:57 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Ansuel Smith Cc: Andrew Lunn , 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: <20211109040257.29f42aa1@thinkpad> In-Reply-To: <20211109022608.11109-4-ansuelsmth@gmail.com> References: <20211109022608.11109-1-ansuelsmth@gmail.com> <20211109022608.11109-4-ansuelsmth@gmail.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Marek