[PATCH v6 08/25] spl: Refactor spl_load_info->read to use units of bytes
Sean Anderson
seanga2 at gmail.com
Mon Nov 6 14:54:03 CET 2023
On 11/6/23 07:35, Xavier Drudis Ferran wrote:
> Thanks for your work. I'm still reading... but...
>
>
> El Sun, Nov 05, 2023 at 09:25:46PM -0500, Sean Anderson deia:
>> diff --git a/include/spl.h b/include/spl.h
>> index 951e136b9ea..ecfc50e0095 100644
>> --- a/include/spl.h
>> +++ b/include/spl.h
>> @@ -297,10 +297,10 @@ struct spl_load_info {
>> * read() - Read from device
>> *
>> * @load: Information about the load state
>> - * @sector: Sector number to read from (each @load->bl_len bytes)
>> - * @count: Number of sectors to read
>> + * @offset: Offset to read from in bytes, in multiples of @load->bl_len
>> + * @count: Number of bytes to read, in multiples of @load->bl_len
>
> I'm no native English speaker, but would it be easier to understand? :
>
> + * @offset: Offset to read from in bytes, a multiple of @load->bl_len
> + * @count: Number of bytes to read, a multiple of @load->bl_len
>
>
>
I think it would have to be worded
@offset: Offset to read from in bytes, as a multiple of @load->bl_len
but to me these both mean the same thing.
--Sean
More information about the U-Boot
mailing list