From: kernel test robot <lkp@intel.com>
To: David Sterba <dsterba@suse.com>, linux-btrfs@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
David Sterba <dsterba@suse.com>
Subject: Re: [PATCH 2/2] btrfs: constify more pointer parameters
Date: Sat, 31 Aug 2024 00:50:28 +0800 [thread overview]
Message-ID: <202408310007.Ds7bGRX9-lkp@intel.com> (raw)
In-Reply-To: <e163012ed80a4f55ce17641586681c6ac4ff9018.1724859620.git.dsterba@suse.com>
Hi David,
kernel test robot noticed the following build errors:
[auto build test ERROR on kdave/for-next]
[also build test ERROR on linus/master next-20240830]
[cannot apply to v6.11-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/David-Sterba/btrfs-rework-BTRFS_I-as-macro-to-preserve-parameter-const/20240828-234222
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/r/e163012ed80a4f55ce17641586681c6ac4ff9018.1724859620.git.dsterba%40suse.com
patch subject: [PATCH 2/2] btrfs: constify more pointer parameters
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240831/202408310007.Ds7bGRX9-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408310007.Ds7bGRX9-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408310007.Ds7bGRX9-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/btrfs/block-group.c:1762:37: error: passing 'const struct btrfs_fs_info *' to parameter of type 'struct btrfs_fs_info *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
1762 | return btrfs_zoned_should_reclaim(fs_info);
| ^~~~~~~
fs/btrfs/zoned.h:245:69: note: passing argument to parameter 'fs_info' here
245 | static inline bool btrfs_zoned_should_reclaim(struct btrfs_fs_info *fs_info)
| ^
1 error generated.
vim +1762 fs/btrfs/block-group.c
2ca0ec770c62b32 Johannes Thumshirn 2021-10-14 1758
17ca64afd0470e9 David Sterba 2024-08-28 1759 static inline bool btrfs_should_reclaim(const struct btrfs_fs_info *fs_info)
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 1760 {
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 1761 if (btrfs_is_zoned(fs_info))
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 @1762 return btrfs_zoned_should_reclaim(fs_info);
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 1763 return true;
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 1764 }
3687fcb0752ac9c Johannes Thumshirn 2022-03-29 1765
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-08-30 16:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 15:41 [PATCH 0/2] Const parameter updates David Sterba
2024-08-28 15:41 ` [PATCH 1/2] btrfs: rework BTRFS_I as macro to preserve parameter const David Sterba
2024-08-28 15:41 ` [PATCH 2/2] btrfs: constify more pointer parameters David Sterba
2024-08-30 15:47 ` kernel test robot
2024-08-30 19:04 ` David Sterba
2024-08-30 16:50 ` kernel test robot [this message]
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=202408310007.Ds7bGRX9-lkp@intel.com \
--to=lkp@intel.com \
--cc=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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