All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crc32: Proper name of command is "crc32".
@ 2014-07-07  9:36 Robert P. J. Day
  2014-07-08  5:45 ` Sascha Hauer
  2014-07-08  8:57 ` Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Robert P. J. Day @ 2014-07-07  9:36 UTC (permalink / raw)
  To: U-Boot Version 2 (barebox)


Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  as i understand it, this fix should take care of the command being
named "crc32", is that right? it seems to generate the correct sphinx
documentation.

diff --git a/Documentation/user/memory-areas.rst b/Documentation/user/memory-areas.rst
index 6c5bab3..9654a99 100644
--- a/Documentation/user/memory-areas.rst
+++ b/Documentation/user/memory-areas.rst
@@ -2,7 +2,7 @@ Memory areas
 ============

 Several barebox commands like :ref:`command_md`, :ref:`command_erase`
-or :ref:`command_crc` work on an area of memory. Areas have the following form::
+or :ref:`command_crc32` work on an area of memory. Areas have the following form::

   <start>-<end>

diff --git a/commands/crc.c b/commands/crc.c
index 3612162..0e30052 100644
--- a/commands/crc.c
+++ b/commands/crc.c
@@ -107,7 +107,7 @@ static int do_crc(int argc, char *argv[])
 	return err;
 }

-BAREBOX_CMD_HELP_START(crc)
+BAREBOX_CMD_HELP_START(crc32)
 BAREBOX_CMD_HELP_TEXT("Calculate a CRC32 checksum of a memory area.")
 BAREBOX_CMD_HELP_TEXT("")
 BAREBOX_CMD_HELP_TEXT("Options:")

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-08  9:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07  9:36 [PATCH] crc32: Proper name of command is "crc32" Robert P. J. Day
2014-07-08  5:45 ` Sascha Hauer
2014-07-08  8:57 ` Sascha Hauer
2014-07-08  9:18   ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.