[U-Boot] [PATCH 18/30] dm: block: Rename device number member dev to devnum

Simon Glass sjg at chromium.org
Mon Feb 29 05:19:04 CET 2016


Hi Stephen,

On 16 February 2016 at 16:23, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 02/14/2016 07:16 PM, Simon Glass wrote:
>>
>> This is a device number, and we want to use 'dev' to mean a driver model
>> device. Rename the member.
>
>
>> diff --git a/cmd/cbfs.c b/cmd/cbfs.c
>> index cdfc9b6..779e9c0 100644
>> --- a/cmd/cbfs.c
>> +++ b/cmd/cbfs.c
>> @@ -141,6 +141,7 @@ int do_cbfs_ls(cmd_tbl_t *cmdtp, int flag, int argc,
>> char *const argv[])
>>                         type_name = "cmos layout";
>>                         break;
>>                 case -1:
>> +               case 0:
>>                         type_name = "null";
>>                         break;
>>                 }
>
>
> Should that be part of the earlier cbfs fix patch?
>

Yes, will move it.

Regards,
Simon


More information about the U-Boot mailing list