* [PATCH] btrfs: fix kernel test bot warnings
@ 2025-08-30 14:40 Sun YangKai
2025-08-30 21:19 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Sun YangKai @ 2025-08-30 14:40 UTC (permalink / raw)
To: linux-btrfs; +Cc: dsterba, Sun YangKai, kernel test robot
Fixes: 2d6338c69725 ("btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508301747.dZexfo9v-lkp@intel.com/
Signed-off-by: Sun YangKai <sunk67188@gmail.com>
---
fs/btrfs/scrub.c | 2 +-
fs/btrfs/send.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index d8c36cbf423d..9159e3a8af17 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -612,7 +612,7 @@ static void scrub_print_common_warning(const char *errstr, struct btrfs_device *
ret = extent_from_logical(fs_info, swarn.logical, path, &found_key,
&flags);
if (ret < 0)
- return ret;
+ return;
swarn.extent_item_size = found_key.offset;
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 6811eeb96490..69cf124674d7 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -1771,7 +1771,6 @@ static int gen_unique_name(struct send_ctx *sctx,
u64 ino, u64 gen,
struct fs_path *dest)
{
- int ret = 0;
BTRFS_PATH_AUTO_FREE(path);
struct btrfs_dir_item *di;
char tmp[64];
@@ -1806,7 +1805,6 @@ static int gen_unique_name(struct send_ctx *sctx,
if (!sctx->parent_root) {
/* unique */
- ret = 0;
break;
}
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: fix kernel test bot warnings
2025-08-30 14:40 [PATCH] btrfs: fix kernel test bot warnings Sun YangKai
@ 2025-08-30 21:19 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2025-08-30 21:19 UTC (permalink / raw)
To: Sun YangKai; +Cc: linux-btrfs, dsterba, kernel test robot
On Sat, Aug 30, 2025 at 10:40:40PM +0800, Sun YangKai wrote:
> Fixes: 2d6338c69725 ("btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202508301747.dZexfo9v-lkp@intel.com/
> Signed-off-by: Sun YangKai <sunk67188@gmail.com>
Fixes folded in, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-30 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-30 14:40 [PATCH] btrfs: fix kernel test bot warnings Sun YangKai
2025-08-30 21:19 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).