From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] disk/part.c: 'usb storage' avoiding overflow when output capacity
Date: Tue, 10 Aug 2010 23:10:58 +0200 [thread overview]
Message-ID: <20100810211058.ECBFB207@gemini.denx.de> (raw)
In-Reply-To: <1281269139-8194-1-git-send-email-slyfox@inbox.ru>
Dear Sergei Trofimovich,
In message <1281269139-8194-1-git-send-email-slyfox@inbox.ru> you wrote:
> From: Sergei Trofimovich <slyfox@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@gentoo.org>
> ---
> Changes since V1:
> Fixed space usage instead of tabs. Noticed by Sergei Shtylyov.
>
> disk/part.c | 28 +++++++++++++++++++++++-----
> 1 files changed, 23 insertions(+), 5 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Where shall I begin, please your Majesty?" he asked. "Begin at the
beginning," the King said, gravely, "and go on till you come to the
end: then stop." - Alice's Adventures in Wonderland, Lewis Carroll
next prev parent reply other threads:[~2010-08-10 21:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-07 7:18 [U-Boot] 'usb start' works very unstable Sergei Trofimovich
2010-08-07 11:22 ` Wolfgang Denk
2010-08-07 13:39 ` Sergei Trofimovich
2010-08-07 15:47 ` Wolfgang Denk
2010-08-07 19:35 ` Prafulla Wadaskar
2010-08-07 20:57 ` Sergei Trofimovich
2010-08-08 9:05 ` [U-Boot] [PATCH] disk/part.c: 'usb storage' avoiding overflow when output capacity Sergei Trofimovich
2010-08-08 10:01 ` Sergei Shtylyov
2010-08-08 12:05 ` Sergei Trofimovich
2010-08-09 5:38 ` Prafulla Wadaskar
2010-08-09 18:19 ` Sergei Trofimovich
2010-08-10 21:10 ` Wolfgang Denk [this message]
2010-08-07 19:47 ` [U-Boot] 'usb start' works very unstable Prafulla Wadaskar
2010-08-07 22:27 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100810211058.ECBFB207@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox