[PATCH] block: Remove blk_find_first/next

Tom Rini trini at konsulko.com
Thu Jul 24 03:37:31 CEST 2025


On Thu, 17 Jul 2025 06:19:01 -0400, Greg Malysa wrote:

> In [0], Andrew noted a code quality issue in the implementation of
> blk_find_first and blk_find_next. This led to the observation that the
> logic of these functions was also likely incorrect, and based on a quick
> check it seemed the functions were unused outside of test code, which
> did not exercise the potential failure case, so we felt they should be
> removed. In [1], a test patch which illustrates the failure in sandbox
> is provided for reference.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] block: Remove blk_find_first/next
      commit: 3532f1f5edfc97c9dcea723cdeb732eda44bc669
-- 
Tom




More information about the U-Boot mailing list