From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use
Date: Tue, 1 Sep 2015 12:57:41 +0200 [thread overview]
Message-ID: <55E584A5.2040302@denx.de> (raw)
In-Reply-To: <55E51F9E.1070601@denx.de>
Hello Hans,
Am 01.09.2015 um 05:46 schrieb Heiko Schocher:
> Hello Hans,
>
> Am 31.08.2015 um 18:08 schrieb Hans de Goede:
>> Hi,
>>
>> On 28-08-15 16:52, Tom Rini wrote:
>>> On Tue, Aug 25, 2015 at 01:32:05PM +0200, Hans de Goede wrote:
>>>> Hi,
>>>>
>>>> On 25-08-15 13:00, Heiko Schocher wrote:
>>>>> Hello Hans,
>>>>>
>>>>> Am 22.08.2015 um 20:04 schrieb Hans de Goede:
>>>>>> Modify the ubifs u-boot wrapper function prototypes for generic fs use,
>>>>>> and give them their own header file.
>>>>>>
>>>>>> This is a preparation patch for adding ubifs support to the generic fs
>>>>>> code from fs/fs.c.
>>>>>>
>>>>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>>>>> ---
>>>>>> common/cmd_ubifs.c | 14 +++--------
>>>>>> fs/ubifs/ubifs.c | 70 ++++++++++++++++++++++++++++++++++++++++-----------
>>>>>> fs/ubifs/ubifs.h | 6 +----
>>>>>> include/ubifs_uboot.h | 29 +++++++++++++++++++++
>>>>>> 4 files changed, 89 insertions(+), 30 deletions(-)
>>>>>> create mode 100644 include/ubifs_uboot.h
>>>>>
>>>>> Only one nitpick, beside of this, you can add my:
>>>>>
>>>>> Reviewed-by: Heiko Schocher <hs@denx.de>
>>>>>
>>>>>> diff --git a/common/cmd_ubifs.c b/common/cmd_ubifs.c
>>>>>> index 8e9a4e5..0a3dd24 100644
>>>>>> --- a/common/cmd_ubifs.c
>>>>>> +++ b/common/cmd_ubifs.c
>>>>>> @@ -15,11 +15,10 @@
>>>>>> #include <common.h>
>>>>>> #include <config.h>
>>>>>> #include <command.h>
>>>>>> -
>>>>>> -#include "../fs/ubifs/ubifs.h"
>>>>>> +#include <ubifs_uboot.h>
>>>>>>
>>>>>> static int ubifs_initialized;
>>>>>> -static int ubifs_mounted;
>>>>>> +int ubifs_mounted;
>>>>>
>>>>> later you add "extern int ubifs_mounted" in include/ubifs_uboot.h
>>>>>
>>>>> Maybe you want to add a function, which returns the state
>>>>> of this var and let the var static?
>>>>
>>>> Yes that would be cleaner, I'll fix the patch-set to do
>>>> things that way.
>>>>
>>>> Thanks for the reviews.
>>>>
>>>> So when the time come comes (when v2015.10 is out), how do
>>>> we merge these 3, shall I take them upstream through the
>>>> linux-sunxi tree, or do you want me to send a v2 with this fixed,
>>>> and then you take them upstream ?
>>>
>>> I can just take 'em all into master :)
>>
>> Heiko and I both thought we were too far in the cycle for that,
>> but I must admit I do not see that much chance of these changes
>> causing regressions and they are a nice improvement.
>>
>> So I'll send a v2 for you to merge, unless Heiko objects.
>
> Let me do with your v2 some tests today, if they are ok its Toms
> decision.
Tested the patches:
Patchwork [U-Boot,v2,1/3] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use
http://patchwork.ozlabs.org/patch/512543/
Patchwork [U-Boot,v2,2/3] ubifs: Add functions for generic fs use
http://patchwork.ozlabs.org/patch/512545/
Patchwork [U-Boot,v2,3/3] ubifs: Add generic fs support
http://patchwork.ozlabs.org/patch/512544/
on the aristainetos2 board (with an ubifs on SPI NOR and NAND) without
seeing errors ... Are the above patches your current set? You have
in the subject "[PATCH v2 1/4]" ...
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2015-09-01 10:57 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-22 18:04 [U-Boot] [PATCH v2 0/4] distro_bootcmd: Add support for booting from ubifs Hans de Goede
2015-08-22 18:04 ` [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use Hans de Goede
2015-08-25 11:00 ` Heiko Schocher
2015-08-25 11:32 ` Hans de Goede
2015-08-28 14:52 ` Tom Rini
2015-08-28 15:33 ` Heiko Schocher
2015-08-31 16:08 ` Hans de Goede
2015-09-01 3:46 ` Heiko Schocher
2015-09-01 10:57 ` Heiko Schocher [this message]
2015-08-22 18:04 ` [U-Boot] [PATCH v2 2/4] ubifs: Add functions " Hans de Goede
2015-08-25 11:02 ` Heiko Schocher
2015-09-01 19:57 ` Stephen Warren
2015-09-01 20:01 ` Michael Trimarchi
2015-09-14 17:29 ` Hans de Goede
2015-08-22 18:04 ` [U-Boot] [PATCH v2 3/4] ubifs: Add generic fs support Hans de Goede
2015-08-25 11:20 ` Heiko Schocher
2015-09-01 20:03 ` Stephen Warren
2015-09-14 17:35 ` Hans de Goede
2015-09-21 18:11 ` Stephen Warren
2015-08-22 18:04 ` [U-Boot] [PATCH v2 4/4] distro_bootcmd: Add support for booting from ubifs Hans de Goede
2015-09-01 20:13 ` Stephen Warren
2015-09-14 17:48 ` Hans de Goede
2015-08-24 16:57 ` [U-Boot] [PATCH v2 0/4] " Scott Wood
2015-08-25 7:15 ` Hans de Goede
2015-08-25 7:31 ` Heiko Schocher
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=55E584A5.2040302@denx.de \
--to=hs@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