* Re: Patch "iommu/arm-smmu: Drop if with an always false condition" has been added to the 6.3-stable tree [not found] <20230520014938.2798196-1-sashal@kernel.org> @ 2023-05-20 14:40 ` Uwe Kleine-König 2023-05-21 23:36 ` Sasha Levin 0 siblings, 1 reply; 2+ messages in thread From: Uwe Kleine-König @ 2023-05-20 14:40 UTC (permalink / raw) To: Sasha Levin, stable Cc: stable-commits, Will Deacon, Robin Murphy, Joerg Roedel [-- Attachment #1: Type: text/plain, Size: 1082 bytes --] Hello, On Fri, May 19, 2023 at 09:49:37PM -0400, Sasha Levin wrote: > This is a note to let you know that I've just added the patch titled > > iommu/arm-smmu: Drop if with an always false condition > > to the 6.3-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > iommu-arm-smmu-drop-if-with-an-always-false-conditio.patch > and it can be found in the queue-6.3 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let <stable@vger.kernel.org> know about it. I'd not add that patch to stable. It's just about dropping an if (false) { something(); } The compiler probably isn't able to see that the condition is always false, so the only benefit is that the patch makes the compiled code a bit smaller. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Patch "iommu/arm-smmu: Drop if with an always false condition" has been added to the 6.3-stable tree 2023-05-20 14:40 ` Patch "iommu/arm-smmu: Drop if with an always false condition" has been added to the 6.3-stable tree Uwe Kleine-König @ 2023-05-21 23:36 ` Sasha Levin 0 siblings, 0 replies; 2+ messages in thread From: Sasha Levin @ 2023-05-21 23:36 UTC (permalink / raw) To: Uwe Kleine-König Cc: stable, stable-commits, Will Deacon, Robin Murphy, Joerg Roedel On Sat, May 20, 2023 at 04:40:18PM +0200, Uwe Kleine-König wrote: >Hello, > >On Fri, May 19, 2023 at 09:49:37PM -0400, Sasha Levin wrote: >> This is a note to let you know that I've just added the patch titled >> >> iommu/arm-smmu: Drop if with an always false condition >> >> to the 6.3-stable tree which can be found at: >> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary >> >> The filename of the patch is: >> iommu-arm-smmu-drop-if-with-an-always-false-conditio.patch >> and it can be found in the queue-6.3 subdirectory. >> >> If you, or anyone else, feels it should not be added to the stable tree, >> please let <stable@vger.kernel.org> know about it. > >I'd not add that patch to stable. It's just about dropping an > > if (false) { > something(); > } > >The compiler probably isn't able to see that the condition is always >false, so the only benefit is that the patch makes the compiled code a >bit smaller. Dropped, thanks! -- Thanks, Sasha ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-21 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230520014938.2798196-1-sashal@kernel.org>
2023-05-20 14:40 ` Patch "iommu/arm-smmu: Drop if with an always false condition" has been added to the 6.3-stable tree Uwe Kleine-König
2023-05-21 23:36 ` Sasha Levin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox