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 39E56BA3E for ; Tue, 4 Apr 2023 15:24:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD9AEC433D2; Tue, 4 Apr 2023 15:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680621847; bh=bv9sygn2HLy3yHTqEOJi6mXpzfPPW8uG8OQ6tRdO7H0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ldNhfu/p2517oQHIWGt8kWF9JUE1qGbm2quarSyLUVnB2KtTT9hICpYz17w++Gm5O H0jG3TXdJW3RzHIYYck5MZdT86LfQvz60cm1zu0toziI7AZ8rNW+1W4raQBc0+124X zKtZeCYCIbvZf5gImmYOHrEbnfRLkYTt32OMpKbJJWAVkTMq0s+sNGM4aNRhQNZYuT AD49RpOjZIoHwpJ4/vfWwIAKVWgLWVmhXawWhY1fbARXXr8S/z2qzW31MAI0NEtjDF xeaGc5ek4UwaqmWcw1qUn3U1U71PZwY+UDx1x0vp3E2RmoUOniZMwCOPLzPxNl6Gm6 piX5s4xCjiz2g== Date: Tue, 4 Apr 2023 11:24:06 -0400 From: Sasha Levin To: Pavel Machek Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, Jakub Kicinski Subject: Re: [PATCH 5.10 051/173] net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case Message-ID: References: <20230403140414.174516815@linuxfoundation.org> <20230403140416.096716862@linuxfoundation.org> Precedence: bulk X-Mailing-List: patches@lists.linux.dev 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: On Tue, Apr 04, 2023 at 01:43:32PM +0200, Pavel Machek wrote: >Hi! > >> > > [ Upstream commit 407b508bdd70b6848993843d96ed49ac4108fb52 ] >> > > >> > > Move setting the ssc_delta variable to under the PHY_INTERFACE_MODE_TRGMII >> > > case as it's only needed when trgmii is used. >> > >> > This one is very wrong for 5.10. ssc_delta is unconditionally used >> > below, and it will not use uninitialized variable. >> > >> > (In mainline, that code is protected by if (trgint), so it does not >> > have this problem). >> >> This patch is not stable material in the first place. As a newbie I >> incorrectly sent it to net tree instead of net-next. This patch can just be >> ignored for 5.10, if that takes the least amount of effort for you folks. >> >> Sorry about that and thanks for pointing this out Pavel. > >I believe you did the right thing, but as it had Fixes header stable >people picked it up. Right. I'll drop it. -- Thanks, Sasha