On 2026-10-16T07:26:37, Jan Kehren <[email protected]> wrote:
> avb: Drop the mmc naming from the block IO helpers
>
> The AVB IO helpers and struct mmc_part only ever touched struct blk_desc:
> nothing in them is mmc-specific. The names say otherwise, which makes the
> mmc assumption in AVB look wider than it is.
>
> Rename them after what they do, in the AVB namespace rather than the block
> layer's: avb_blk_read_and_flush(), avb_blk_write(), avb_blk_byte_io(),
> struct avb_blk_part and enum avb_io_type with AVB_IO_READ/AVB_IO_WRITE.
> The block descriptor field loses its mmc_ prefix for the same reason.
>
> No functional change.
>
> Signed-off-by: Jan Kehren <[email protected]>
> Reviewed-by: Mattijs Korpershoek <[email protected]>
> Reviewed-by: Guillaume La Roque <[email protected]>
> Reviewed-by: Igor Opaniuk <[email protected]>
> Tested-by: Igor Opaniuk <[email protected]>
>
>  common/avb_verify.c  | 106 
> +++++++++++++++++++++++++--------------------------
>  include/avb_verify.h |  12 +++---
>  2 files changed, 59 insertions(+), 59 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to