aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-08-23 14:09:42 -0500
committerArnd Bergmann <[email protected]>2023-08-29 16:02:00 -0400
commit09959520d2b0853a16962d245acfdc995d1b0da9 (patch)
tree0fa636dabf14a2bfd6bb059ce01fc81522935065 /lib/test_fortify/write_overflow-strncpy-src.c
parenta9d3965f76e317e2bd3d841dcf3d8ad5794121df (diff)
bus: fsl-mc: Use common ranges functions
Since commit 3d5089c4263d ("of/address: Add support for 3 address cell bus"), the DT address functions can handle translating buses with 3 address cells. Replace the custom code with the for_each_of_range() iterator. The original code had fallbacks to get "#address-cells"/"#size-cells" from the bus parent node if they are missing. This is non-standard behavior, and AFAICT the upstream .dts files never relied on that. Reviewed-by: Laurentiu Tudor <[email protected]> Tested-by: Laurentiu Tudor <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions