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 16C071D5ABF; Sun, 7 Dec 2025 00:37:45 +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=1765067866; cv=none; b=VQ1g+b9opPlhwmj6MCuizbpy9/3arn+8BH+vnm5Xkx2hsPLalCUMsyE10rsZVLR7OlD3kaF+VZBEDnpZY983ZALf54k/v3DC+eTJMV2jIah4152WRjzDX7V2swjXjGPzOzO4gNsgslqONLumZn1Bewad0nVezA/oA1NtA+Vd9yQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765067866; c=relaxed/simple; bh=r7gYtfssY56Xn6buD1OxmqHdEFBHTAJfL6NFw/5gMEg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y9Ua4PvO5/O7zQVo4QhWe/D89oXvoACBdidFmXphsDQn79u5y7A84k+8Ynkr66WSx1zor3J62TFeKdyGpP+I5Vs2mu5Fydd2vA63Z6ncIrnZ5tcL7/sxbbVkO1bPvLVN7EGJMdWo7/2VPXHX/vqXxaPg4l0TyMAAUUzcAhv/byk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rIo3SETA; 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="rIo3SETA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F1FDC113D0; Sun, 7 Dec 2025 00:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765067865; bh=r7gYtfssY56Xn6buD1OxmqHdEFBHTAJfL6NFw/5gMEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rIo3SETARYzfwXu5dNPM4XOV6sSwLWQ5w0ti20oGy46PKgblQ7fRUiZIKY9ltEHB/ lu8MAUGe55rQNPuyZiuxKzuWFY1QAOoZqePIOgFbdK3+AAUVKWLNE79nDEe1tVUMIh NY/ggPxIMpodzFH5PB0dIXOt7NpN9FagATIWK82+bNfO4L/u2snxtMLg9Gfly+aqnw UdkCKo9LqTOcmM4kxx8C1L3wRVY9TinJOVBfMHs3aWq8S/yAkM0ixBCL6qGh0cYoo9 X+2gvqn2QsHPCXx2dfcDt6JVNCHjxM9PbAHAaLUg0/8yXY/PoP1OolUz7sMNrrPnQH o4835jGpN74hA== Date: Sat, 6 Dec 2025 19:37:43 -0500 From: Sasha Levin To: Nathan Chancellor Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lee Jones , Pavel Machek , linux-leds@vger.kernel.org, Stefan Kalscheuer Subject: Re: Apply ccc35ff2fd2911986b716a87fe65e03fac2312c9 to 5.15, 6.1, and 6.6 Message-ID: References: <20251204000025.GA468348@ax162> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20251204000025.GA468348@ax162> On Wed, Dec 03, 2025 at 05:00:25PM -0700, Nathan Chancellor wrote: >Hi stable folks, > >Please apply commit ccc35ff2fd29 ("leds: spi-byte: Use >devm_led_classdev_register_ext()") to 5.15, 6.1, and 6.6. It >inadvertently addresses an instance of -Wuninitialized visible with >clang-21 and newer: > > drivers/leds/leds-spi-byte.c:99:26: error: variable 'child' is uninitialized when used here [-Werror,-Wuninitialized] > 99 | of_property_read_string(child, "label", &name); > | ^~~~~ > drivers/leds/leds-spi-byte.c:83:27: note: initialize the variable 'child' to silence this warning > 83 | struct device_node *child; > | ^ > | = NULL > >It applies cleanly to 6.6. I have attached a backport for 6.1 and 5.15, >which can be generated locally with: > > $ git format-patch -1 --stdout ccc35ff2fd2911986b716a87fe65e03fac2312c9 | sed 's;strscpy;strlcpy;' | patch -p1 Queued up. I just picked up the dependency instead of changing the patch. -- Thanks, Sasha