Patchwork [MTD] WWW: Spelling correction in UBI FAQ

login
register
mail settings
Submitter Lee Amirev
Date Jan. 4, 2010, 12:11 a.m.
Message ID <e14c53d91001031611i736c54eev8636321d43f3f831@mail.gmail.com>
Download mbox | patch
Permalink /patch/42396/
State New
Headers show

Comments

Lee Amirev - Jan. 4, 2010, 12:11 a.m.
It should print something like</p>

 <pre>
Artem Bityutskiy - Jan. 10, 2010, 9:21 a.m.
On Sun, 2010-01-03 at 19:11 -0500, Lee Amirev wrote:
> diff --git a/faq/ubi.xml b/faq/ubi.xml
> index 3a9c255..76ad9d9 100644
> --- a/faq/ubi.xml
> +++ b/faq/ubi.xml
> @@ -707,7 +707,7 @@ $ modprobe nandsim second_id_byte=0x36
>  <p>See <a href="nand.html#L_nand_nandsim">here</a> for more
> information about
>  the NAND simulator.</p>
>  
> -<p>To ensure that you have fake MTD devices, run
> "<code>cat /prof/mtd</code>".
> +<p>To ensure that you have fake MTD devices, run
> "<code>cat /proc/mtd</code>".
>  It should print something like</p>

Although the patch is not in proper format and is not applicable with
git am, I've pushed it with some manual work.

Thank you!
Artem Bityutskiy - Jan. 11, 2010, 4:49 a.m.
On Sun, 2010-01-10 at 11:26 -0500, Lee Amirev wrote:
> For future reference, how do I generate the proper format?  I just
> used git diff.

git format-patch

You should also have a "Signed-off-by:". Like this:
http://git.infradead.org/mtd-www.git/commit/1e58f6b030255925912b3f1c8c08074cf1649aff

Patch

diff --git a/faq/ubi.xml b/faq/ubi.xml
index 3a9c255..76ad9d9 100644
--- a/faq/ubi.xml
+++ b/faq/ubi.xml
@@ -707,7 +707,7 @@  $ modprobe nandsim second_id_byte=0x36
 <p>See <a href="nand.html#L_nand_nandsim">here</a> for more information
about
 the NAND simulator.</p>

-<p>To ensure that you have fake MTD devices, run "<code>cat
/prof/mtd</code>".
+<p>To ensure that you have fake MTD devices, run "<code>cat
/proc/mtd</code>".