All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] fs/btrfs: Fix warning in btrfs_check_super()
@ 2017-10-03 12:45 Tom Rini
  2017-10-03 12:45 ` [U-Boot] [PATCH 2/2] sandbox: Enable btrfs support Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2017-10-03 12:45 UTC (permalink / raw)
  To: u-boot

We specifically say that the last arg is u32, so use %lu.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 fs/btrfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 706286ee2d85..2529c2b3b6a6 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -147,7 +147,7 @@ static int btrfs_check_super(struct btrfs_super_block *sb)
 
 	if (sb->sys_chunk_array_size < sizeof(struct btrfs_key) +
 	    sizeof(struct btrfs_chunk)) {
-		printf("%s: system chunk array too small %u < %u\n", __func__,
+		printf("%s: system chunk array too small %u < %lu\n", __func__,
 		       sb->sys_chunk_array_size, (u32) sizeof(struct btrfs_key)
 		       + sizeof(struct btrfs_chunk));
 		ret = -1;
-- 
2.7.4

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

* [U-Boot] [PATCH 2/2] sandbox: Enable btrfs support
  2017-10-03 12:45 [U-Boot] [PATCH 1/2] fs/btrfs: Fix warning in btrfs_check_super() Tom Rini
@ 2017-10-03 12:45 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-10-03 12:45 UTC (permalink / raw)
  To: u-boot

For better test coverage, enable btrfs.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 configs/sandbox_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 632e0aa0ee35..891322b65cb4 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -60,6 +60,7 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_TPM_TEST=y
+CONFIG_CMD_BTRFS=y
 CONFIG_CMD_CBFS=y
 CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT4_WRITE=y
-- 
2.7.4

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

end of thread, other threads:[~2017-10-03 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-03 12:45 [U-Boot] [PATCH 1/2] fs/btrfs: Fix warning in btrfs_check_super() Tom Rini
2017-10-03 12:45 ` [U-Boot] [PATCH 2/2] sandbox: Enable btrfs support Tom Rini

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.