[U-Boot] [PATCH] disk/part.c: 'usb storage' avoiding overflow when output capacity

Prafulla Wadaskar prafulla at marvell.com
Mon Aug 9 07:38:02 CEST 2010


Hi Sergei 

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Sergei Trofimovich
> Sent: Sunday, August 08, 2010 5:36 PM
> To: Sergei Shtylyov
> Cc: u-boot at lists.denx.de; Sergei Trofimovich
> Subject: [U-Boot] [PATCH] disk/part.c: 'usb storage' avoiding 
> overflow when output capacity
> 
> From: Sergei Trofimovich <slyfox at gentoo.org>
> 
> Before:
>     Marvell>> usb storage
>       Device 0: Vendor: StoreJet Rev:  Prod:  Transcend
>                 Type: Hard Disk
>                 Capacity: 28759.9 MB = 28.0 GB (488397168 x 512)
> After:
>     Marvell>> usb storage
>       Device 0: Vendor: StoreJet Rev:  Prod:  Transcend
>                 Type: Hard Disk
>                 Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
> 
> Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
> ---

You should change the version of the patch in the subject line
And you should add change log history here.

You can have reference from some other patches submitted on the list

Regards..
Prafulla . .


More information about the U-Boot mailing list