[PATCH 2/2] vsprintf: document %JP format specifier as being barebox-specific

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



%JP was added before the documentation was adapted to differentiate
between format specifiers inherited from Linux and thus specific to
barebox. Move it to correctly indicate that this is a barebox extension.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 lib/vsprintf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index edc3f4aa4fe0..cb42caebca16 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -510,12 +510,12 @@ char *device_node_string(char *buf, const char *end, const struct device_node *n
  *              C colon
  *              D dash
  *              N no separator
- * - 'JP' For a JSON path
  * - 'M' For a 6-byte MAC address, it prints the address in the
  *       usual colon-separated hex notation
  *
  * Additionally, we support following barebox-specific format specifiers:
  *
+ * - 'JP' For a JSON path
  * - 'D' For EFI device paths
  */
 static char *pointer(const char *fmt, char *buf, const char *end, const void *ptr,
-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux