From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Wang Yugui <wangyugui@e16-tech.com>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs ASSERT() error when make C=1, but OK when make C=0
Date: Tue, 23 Dec 2025 06:27:16 +1030 [thread overview]
Message-ID: <51c72eeb-cd33-423e-8e75-7f79034b9596@gmx.com> (raw)
In-Reply-To: <20251222223701.F4A2.409509F4@e16-tech.com>
在 2025/12/23 01:07, Wang Yugui 写道:
> Hi,
>
> I noticed a lot of make C=1 error of btrfs ASSERT(),
> but make C=0 is OK.
>
> block-group.c: note: in included file:
> zoned.h:417:9: error: Expected ) in function call
> zoned.h:417:9: error: got __VA_OPT__
You know this is from sparse right?
And sparse is known to cause false positive.
>
> static inline bool btrfs_zoned_bg_is_full(const struct btrfs_block_group *bg)
> {
> L417: ASSERT(btrfs_is_zoned(bg->fs_info));
> return (bg->alloc_offset == bg->zone_capacity);
> }
>
> Any help to fix it?
Then why don't you dig it deeper?
You are an employed developer, not some newbie.
Do your work, not off load it to others.
>
> Best Regards
> Wang Yugui (wangyugui@e16-tech.com)
> 2025/12/22
>
>
>
next prev parent reply other threads:[~2025-12-22 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-22 14:37 btrfs ASSERT() error when make C=1, but OK when make C=0 Wang Yugui
2025-12-22 19:57 ` Qu Wenruo [this message]
2025-12-25 1:33 ` Wang Yugui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51c72eeb-cd33-423e-8e75-7f79034b9596@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wangyugui@e16-tech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox