On Wed, Oct 10, 2012 at 07:57:51AM -0000, Stephen Warren wrote:

> From: Stephen Warren <swar...@nvidia.com>
> 
> When get_device_and_partition() finds a disk without a partition table,
> under some conditions, it "returns" a disk_partition_t that describes
> the entire raw disk. Make sure to initialize all fields in the partition
> descriptor in that case.
> 
> The value chosen for name is just some arbitrary descriptive string.
> 
> The value chosen for info matches the check at the end of
> get_device_and_partition(). However, it's probably not that important;
> it's not obvious that the value is really used.
> 
> Reported-by: Beno??t Th??baudeau <benoit.thebaud...@advansee.com>
> Signed-off-by: Stephen Warren <swar...@nvidia.com>
> Reviewed-by: Beno??t Th??baudeau <benoit.thebaud...@advansee.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to