[PATCH 9/9] state: backend_raw: update documentation of struct state_backend_raw members

Marc Kleine-Budde mkl at pengutronix.de
Tue May 26 04:37:53 PDT 2015


Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
 common/state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/state.c b/common/state.c
index 4a1e935a3b86..edbfb95fbb5f 100644
--- a/common/state.c
+++ b/common/state.c
@@ -1030,8 +1030,8 @@ int state_backend_dtb_file(struct state *state, const char *of_path, const char
  */
 struct state_backend_raw {
 	struct state_backend backend;
-	unsigned long size_data; /* The raw data size (without magic and crc) */
-	unsigned long size_full;
+	unsigned long size_data; /* The raw data size (without header) */
+	unsigned long size_full; /* The size header + raw data */
 	unsigned long stride; /* The stride size in bytes of the copies */
 	off_t offset; /* offset in the storage file */
 	size_t size; /* size of the storage area */
-- 
2.1.4




More information about the barebox mailing list