From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4 1/3] FAT: remove cur_part_nr
Date: Thu, 25 Oct 2012 20:29:36 -0700 [thread overview]
Message-ID: <20121026032936.GD6338@bill-the-cat> (raw)
In-Reply-To: <1350492299-4342-1-git-send-email-swarren@wwwdotorg.org>
On Wed, Oct 17, 2012 at 10:44:57AM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> A future patch will implement the more standard filesystem API
> fat_set_blk_dev(). This API has no way to know which partition number
> the partition represents. Equally, future DM rework will make the
> concept of partition number harder to pass around.
>
> So, simply remove cur_part_nr from fat.c; its only use is in a
> diagnostic printf, and the context where it's printed should make it
> obvious which partition is referred to anyway (since the partition ID
> would come from the user command-line that caused it).
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> v4: New patch: Dropped addition of part number of disk_partition_t, and
> replaced it with this patch.
For the series, applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121025/a4060009/attachment.pgp>
prev parent reply other threads:[~2012-10-26 3:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-17 16:44 [U-Boot] [PATCH V4 1/3] FAT: remove cur_part_nr Stephen Warren
2012-10-17 16:44 ` [U-Boot] [PATCH V4 2/3] FAT: initialize all fields in cur_part_info, simplify init Stephen Warren
2012-10-17 16:44 ` [U-Boot] [PATCH V4 3/3] FAT: implement fat_set_blk_dev(), convert cmd_fat.c Stephen Warren
2012-10-17 17:12 ` Benoît Thébaudeau
2012-10-26 3:29 ` Tom Rini [this message]
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=20121026032936.GD6338@bill-the-cat \
--to=trini@ti.com \
--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