]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
of: unittest: Add bus address range parsing tests
authorRob Herring <robh@kernel.org>
Tue, 28 Mar 2023 20:15:56 +0000 (15:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:56 +0000 (17:15 +0100)
commitbce3629a9e53356bb27308aea145f34af1c75e82
tree7feeafd3b452360f2eb0e5fb97ca5fcef3357593
parent437b875e7389bff561dc8394cedf3eb22e5ff25b
of: unittest: Add bus address range parsing tests

[ Upstream commit 6d32dadb11a6480be62c6ada901bbdcbda1775c9 ]

While there are tests for "dma-ranges" helpers, "ranges" is missing any
tests. It's the same underlying code, but for completeness add a test
for "ranges" parsing iterators. This is in preparation to add some
additional "ranges" helpers.

Link: https://lore.kernel.org/r/20230328-dt-address-helpers-v1-1-e2456c3e77ab@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Stable-dep-of: 7f05e20b989a ("of: address: Preserve the flags portion on 1:1 dma-ranges mapping")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/unittest.c