From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F30F03E0C65; Thu, 19 Mar 2026 15:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773932622; cv=none; b=Pqa+RuIWc5OquzVBqYBEIO1Wrg1vt/dnQOHeguEkeJtl6ZLXMqa+XO7L0igl1zlHWuiKqKirqz5k1ho2FYV1IUmBT0xSGOkaDfLV2p64fOiMy4PmhyvtEGqJ4sz5WzZAHfZAkqXNGKhT5UtXuqDk3hcnDM3EiP+K5noPFS33uUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773932622; c=relaxed/simple; bh=93wh7xteWy5BYiWPBUGp8F3Lh3Nh6uM2n1V2prrcf2E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S8lA8D1weigwga8lUPFKltEeONAZ/e2RYW0YrpV11EWpZZo9aF/Nx6MX7nTo1n/r9UwYcYkiJSBNd0VGR1CjFwkoO3zeRnWO2EDEepc0BURBdpHJVIrdSJqoJJGCAFdd0JxNQKdft1sPcYCDZXrhCEQiTdbKWg9SVJTmkqMaw3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RNX7ZnvH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RNX7ZnvH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01CA1C19424; Thu, 19 Mar 2026 15:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773932621; bh=93wh7xteWy5BYiWPBUGp8F3Lh3Nh6uM2n1V2prrcf2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RNX7ZnvHiU/KPUB40g2bgvLJPhXtDHKu+wXwqLOTFaqFsTZ1LN7bv162q9ths8Z+C uxpqPJMaZk1kQlSKhnjPUOC+7ODntXkNmk1X2SCDQpPKB/bk2z3TYmGc2MJ8Y2XEM/ EG5L6puFXVVaAHFphhBaQkRjOagfAS3tgIdseZHh128M5vlzo/LtvhH5to+L4yPbHa qHaH/k3XQJtSmVAtAynPai808f8pOMESjqupJJsVFo+twJCCiU98lskHmY3B1X8+BA 5qekrWXt/lmz6/5zttitSucegGB0pseBtZzVcHKbNh2DwYKqA4Yat/+GCZDHM5/lVa /8iR+CFBc0ekQ== Date: Thu, 19 Mar 2026 15:03:30 +0000 From: Lee Jones To: Andy Shevchenko Cc: Craig McQueen , linux-kernel@vger.kernel.org, Michael Tretter , Pavel Machek , linux-leds@vger.kernel.org Subject: Re: [PATCH v1 1/1] leds: Adjust documentation of brightness sysfs node Message-ID: <20260319150330.GL554736@google.com> References: <20260310165143.354065-1-andriy.shevchenko@linux.intel.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260310165143.354065-1-andriy.shevchenko@linux.intel.com> On Tue, 10 Mar 2026, Andy Shevchenko wrote: > Adjust documentation of brightness sysfs node about accepted value range. > The code accepts only decimal values. We may not relax that due to different > readings for, e.g., octal 0100, which becomes 64 instead of currently parsed > 100. > > Signed-off-by: Andy Shevchenko > --- > Documentation/ABI/testing/sysfs-class-led | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-class-led b/Documentation/ABI/testing/sysfs-class-led > index 0313b82644f2..39ac8453e670 100644 > --- a/Documentation/ABI/testing/sysfs-class-led > +++ b/Documentation/ABI/testing/sysfs-class-led > @@ -22,7 +22,7 @@ Description: > For additional details please refer to > Documentation/leds/leds-class-multicolor.rst. > > - The value is between 0 and > + The decimal value is between 0 and How about? The value is between 0 and /sys/class/leds//max_brightness and is represented by as a decimal. > /sys/class/leds//max_brightness. > > Writing 0 to this file clears active trigger. > -- > 2.50.1 > > -- Lee Jones [李琼斯]