Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1488204rdb; Mon, 8 Jan 2024 00:05:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRG0wlHiV4doCj3THKxorsELWyR/SvScpL6trQU1mCYZNTctxZ4SAAKO+I0cAGofVMiWHO X-Received: by 2002:a05:6a20:12c5:b0:199:995c:3f31 with SMTP id v5-20020a056a2012c500b00199995c3f31mr566388pzg.107.1704701137640; Mon, 08 Jan 2024 00:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704701137; cv=none; d=google.com; s=arc-20160816; b=dktnrzFYCIH+m8QJoX96RnxuKvmc593FUKdgut02VQAVsZsyopE5td9xELvHMz1Uqg yY4kd3aohBF8vXU6J6mUjHF3MHeU5yj2KZAUdZaTJGu9rtteamDEoYHplzdxNl5pB99A /uydQtej2PiuVX+URIM4VISAiZv//p89JxOgY3uFjK35TXWpiHGJff4fL1xlwtJLGqfq tFyIFDsxmwLu+kcmgQ5EIk7T9N5URkRGXhxk2imivKevdG+U4PdFwqA+PXIt2xeqIP8C qCOkYWcywrq+kZrW3eASdcygJm5M1++IbKQTFR13leKSQiYNYv+5W6uLpQwLA3ImT2Ha sV0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:message-id:references:in-reply-to:subject:cc:to:from :date:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=tP/gQE3xFs/r+U8lFLEN6xILp0y00caXlSHJhxHTx7Q=; fh=Sm9Qd4rPBX+8MkC7TpvV0lQLGBbRVsVI2BvDpukVCXI=; b=BuQkVHszWCr+5a4NoqPUzxI3EmltsDrr+3I2JaNalovWNSn8l1tEOFhkJEIou+qq5r DtxU5gpGSNBgSWV60wBkTnhAerBioFkGYmkP9Q6Fv5CQz1qDW1Che6F3Ti2q9cT3bh8b gvinSpDAddmDaHsrRJlljfdNlCP67SaXgYjd+IsI/EiV0P+VCf/c2eDYgwnRQmVaqzyY ugJYu0/2cuuriqMWO3smYvaTbc8WBQmXMJbfZuSiUJwUtBg8VxCydBP36dKixvp58JUF 7fxQxTyNyTFGEMpY+G3J+5QZceXfzWTXMfCet2HS7aOpGViTym9hS2mCiJQVpgqqzPKK BWaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19172-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19172-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jo25-20020a056a00909900b006d85bbeb3fdsi5842433pfb.360.2024.01.08.00.05.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 00:05:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19172-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19172-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19172-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4C840281497 for ; Mon, 8 Jan 2024 08:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AF109474; Mon, 8 Jan 2024 08:05:30 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7E6A8F47; Mon, 8 Jan 2024 08:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1rMkLl-000MIh-Ss; Mon, 08 Jan 2024 08:47:09 +0100 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rMkLk-000MHO-E1; Mon, 08 Jan 2024 08:47:08 +0100 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 14224240049; Mon, 8 Jan 2024 08:47:08 +0100 (CET) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id A7D1C240040; Mon, 8 Jan 2024 08:47:07 +0100 (CET) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 54D7534839; Mon, 8 Jan 2024 08:47:07 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 08 Jan 2024 08:47:07 +0100 From: Florian Eckert To: Stephen Rothwell Cc: Lee Jones , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the leds-lj tree In-Reply-To: <20240105173352.6ce1a546@canb.auug.org.au> References: <20240105173352.6ce1a546@canb.auug.org.au> Message-ID: <17b4305d9fe1fbed3e39597f0767f7bd@dev.tdt.de> X-Sender: fe@dev.tdt.de User-Agent: Roundcube Webmail/1.3.17 X-purgate-type: clean X-purgate-ID: 151534::1704700028-9767C464-91F02735/0/0 X-purgate: clean Hello Stephen, thanks for your hint On 2024-01-05 07:33, Stephen Rothwell wrote: > Hi all, > > After merging the leds-lj tree, today's linux-next build (htmldocs) > produced this warning: > > Warning: /sys/class/leds//rx is defined 2 times: > Documentation/ABI/testing/sysfs-class-led-trigger-tty:7 > Documentation/ABI/testing/sysfs-class-led-trigger-netdev:49 > Warning: /sys/class/leds//tx is defined 2 times: > Documentation/ABI/testing/sysfs-class-led-trigger-tty:15 > Documentation/ABI/testing/sysfs-class-led-trigger-netdev:34 The behavior of the tty trigger can be controlled via the Rx and Tx file. If a value is set in Rx or Tx, the LED flashes when data is transmitted in this direction. The same behavior is used for the netdev trigger. I have therefore used the same pattern for the new tty trigger as well. I didn't know that the names have to be unique! I'm a bit at a loss as to what to do now. Should I put a prefix "tty_" in front of the names so that we have "tty_rx", "tty_tx"? If we do it this way, however, the general question arises as to whether we do have to use a prefix everywhere! If new triggers are added, then the names for a config file are already used up and anyone who then wants to use the same name for an other trigger with the same config file because it describe the same function must then work with a prefix! Best regards Florian