From: kernel test robot <lkp@intel.com>
To: Ba Jing <bajing@cmss.chinamobile.com>, <shuah@kernel.org>
Cc: <oe-kbuild-all@lists.linux.dev>, <bajing@cmss.chinamobile.com>,
<linux-kselftest@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] memfd: fuse_mnt: remove unused macro
Date: Tue, 24 Sep 2024 17:11:52 +0800 [thread overview]
Message-ID: <ZvKCWJ+7u+wpgfyl@rli9-mobl> (raw)
In-Reply-To: <20240903044455.11268-1-bajing@cmss.chinamobile.com>
Hi Ba,
kernel test robot noticed the following build warnings:
[auto build test WARNING on shuah-kselftest/next]
[also build test WARNING on shuah-kselftest/fixes linus/master v6.11 next-20240924]
[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/Ba-Jing/memfd-fuse_mnt-remove-unused-macro/20240923-161950
base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
patch link: https://lore.kernel.org/r/20240903044455.11268-1-bajing%40cmss.chinamobile.com
patch subject: [PATCH] memfd: fuse_mnt: remove unused macro
:::::: branch date: 24 hours ago
:::::: commit date: 24 hours ago
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240924/202409241613.KyXs9fiF-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/r/202409241613.KyXs9fiF-lkp@intel.com/
All warnings (new ones prefixed by >>):
fuse_mnt.c:101:10: error: 'struct fuse_operations_compat2' has no member named 'readdir'
101 | .readdir = memfd_readdir,
| ^~~~~~~
>> fuse_mnt.c:101:27: warning: initialization of 'int (*)(const char *, char *, size_t)' {aka 'int (*)(const char *, char *, long unsigned int)'} from incompatible pointer type 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, off_t), off_t, struct fuse_file_info *)' {aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long int), long int, struct fuse_file_info *)'} [-Wincompatible-pointer-types]
101 | .readdir = memfd_readdir,
| ^~~~~~~~~~~~~
fuse_mnt.c:101:27: note: (near initialization for 'memfd_ops.readlink')
>> fuse_mnt.c:102:27: warning: initialization of 'int (*)(const char *, int)' from incompatible pointer type 'int (*)(const char *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
102 | .open = memfd_open,
| ^~~~~~~~~~
fuse_mnt.c:102:27: note: (near initialization for 'memfd_ops.open')
>> fuse_mnt.c:103:27: warning: initialization of 'int (*)(const char *, char *, size_t, off_t)' {aka 'int (*)(const char *, char *, long unsigned int, long int)'} from incompatible pointer type 'int (*)(const char *, char *, size_t, off_t, struct fuse_file_info *)' {aka 'int (*)(const char *, char *, long unsigned int, long int, struct fuse_file_info *)'} [-Wincompatible-pointer-types]
103 | .read = memfd_read,
| ^~~~~~~~~~
fuse_mnt.c:103:27: note: (near initialization for 'memfd_ops.read')
In file included from /usr/include/fuse.h:9,
from fuse_mnt.c:15:
fuse_mnt.c: In function 'main':
fuse_mnt.c:108:16: error: too many arguments to function 'fuse_main_compat2'
108 | return fuse_main(argc, argv, &memfd_ops, NULL);
| ^~~~~~~~~
In file included from /usr/include/fuse/fuse.h:1012:
/usr/include/fuse/fuse_compat.h:151:5: note: declared here
151 | int fuse_main_compat2(int argc, char *argv[],
| ^~~~~~~~~~~~~~~~~
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-09-24 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 4:44 [PATCH] memfd: fuse_mnt: remove unused macro Ba Jing
2024-09-24 9:11 ` kernel test robot [this message]
2024-09-25 15:29 ` Shuah Khan
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=ZvKCWJ+7u+wpgfyl@rli9-mobl \
--to=lkp@intel.com \
--cc=bajing@cmss.chinamobile.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shuah@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox