All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 4/6] fs: btrfs: move fstrim to file_operation
Date: Wed, 23 Jun 2021 00:55:39 +0800	[thread overview]
Message-ID: <202106230022.W9jWkh8H-lkp@intel.com> (raw)
In-Reply-To: <20210622121136.4394-5-info@metux.net>

[-- Attachment #1: Type: text/plain, Size: 3231 bytes --]

Hi "Enrico,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on kdave/for-next]
[also build test ERROR on linux/master linus/master v5.13-rc7]
[cannot apply to ext4/dev next-20210622]
[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]

url:    https://github.com/0day-ci/linux/commits/Enrico-Weigelt-metux-IT-consult/fs-generic-file-operation-for-fstrim/20210622-211217
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
config: m68k-randconfig-s031-20210622 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/0day-ci/linux/commit/1239d457c0b015846b187f9b31460e638301a395
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Enrico-Weigelt-metux-IT-consult/fs-generic-file-operation-for-fstrim/20210622-211217
        git checkout 1239d457c0b015846b187f9b31460e638301a395
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/btrfs/inode.c:10652:3: error: 'const struct file_operations' has no member named 'fitrim'; did you mean 'fstrim'?
   10652 |  .fitrim  = btrfs_ioctl_fitrim,
         |   ^~~~~~
         |   fstrim
>> fs/btrfs/inode.c:10652:13: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
   10652 |  .fitrim  = btrfs_ioctl_fitrim,
         |             ^~~~~~~~~~~~~~~~~~
   fs/btrfs/inode.c:10652:13: note: (near initialization for 'btrfs_dir_file_operations')
>> fs/btrfs/inode.c:10652:13: error: initialization of 'int (*)(int,  struct file *, int)' from incompatible pointer type 'long int (*)(struct file *, struct fstrim_range *)' [-Werror=incompatible-pointer-types]
   fs/btrfs/inode.c:10652:13: note: (near initialization for 'btrfs_dir_file_operations.fasync')
   cc1: some warnings being treated as errors


vim +10652 fs/btrfs/inode.c

 10640	
 10641	static const struct file_operations btrfs_dir_file_operations = {
 10642		.llseek		= generic_file_llseek,
 10643		.read		= generic_read_dir,
 10644		.iterate_shared	= btrfs_real_readdir,
 10645		.open		= btrfs_opendir,
 10646		.unlocked_ioctl	= btrfs_ioctl,
 10647	#ifdef CONFIG_COMPAT
 10648		.compat_ioctl	= btrfs_compat_ioctl,
 10649	#endif
 10650		.release        = btrfs_release_file,
 10651		.fsync		= btrfs_sync_file,
 10652		.fitrim		= btrfs_ioctl_fitrim,
 10653	};
 10654	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39928 bytes --]

  reply	other threads:[~2021-06-22 16:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 12:11 RFC: generic file operation for fstrim ioctl() Enrico Weigelt, metux IT consult
2021-06-22 12:11 ` [RFC PATCH 1/6] fs: generic file operation for fstrim Enrico Weigelt, metux IT consult
2021-06-22 12:11 ` [RFC PATCH 2/6] fs: ext4: move fstrim to file_operation Enrico Weigelt, metux IT consult
2021-06-22 15:34   ` kernel test robot
2021-06-22 12:11 ` [RFC PATCH 3/6] fs: hpfs: " Enrico Weigelt, metux IT consult
2021-06-22 12:11 ` [RFC PATCH 4/6] fs: btrfs: " Enrico Weigelt, metux IT consult
2021-06-22 16:55   ` kernel test robot [this message]
2021-06-22 12:11 ` [RFC PATCH 5/6] fs: fat: " Enrico Weigelt, metux IT consult
2021-06-22 12:11 ` [RFC PATCH 6/6] fs: f2fs: " Enrico Weigelt, metux IT consult
2021-06-22 17:48   ` kernel test robot

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=202106230022.W9jWkh8H-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.