From: kernel test robot <lkp@intel.com>
To: aloktiagi <aloktiagi@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC v4 2/2] file, epoll: Implement do_replace() and eventpoll_replace()
Date: Fri, 24 Mar 2023 17:03:58 +0800 [thread overview]
Message-ID: <202303241601.tE7CEyMq-lkp@intel.com> (raw)
In-Reply-To: <20230324063422.1031181-2-aloktiagi@gmail.com>
Hi aloktiagi,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on kees/for-next/seccomp]
[also build test ERROR on vfs-idmapping/for-next linus/master v6.3-rc3 next-20230324]
[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/aloktiagi/file-epoll-Implement-do_replace-and-eventpoll_replace/20230324-143628
base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/seccomp
patch link: https://lore.kernel.org/r/20230324063422.1031181-2-aloktiagi%40gmail.com
patch subject: [RFC v4 2/2] file, epoll: Implement do_replace() and eventpoll_replace()
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230324/202303241601.tE7CEyMq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/16224b0d75bd4532819c7f65b407877237fcaf31
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review aloktiagi/file-epoll-Implement-do_replace-and-eventpoll_replace/20230324-143628
git checkout 16224b0d75bd4532819c7f65b407877237fcaf31
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303241601.tE7CEyMq-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/file.c: In function 'do_replace':
fs/file.c:1176:31: error: 'struct file' has no member named 'f_ep'; did you mean 'f_op'?
1176 | if (fdfile && fdfile->f_ep) {
| ^~~~
| f_op
>> fs/file.c:1177:17: error: implicit declaration of function 'eventpoll_replace_file'; did you mean 'eventpoll_release'? [-Werror=implicit-function-declaration]
1177 | eventpoll_replace_file(fdfile, file);
| ^~~~~~~~~~~~~~~~~~~~~~
| eventpoll_release
cc1: some warnings being treated as errors
vim +1177 fs/file.c
1159
1160 static void do_replace(struct files_struct *files,
1161 struct file *file, unsigned fd, struct file *fdfile)
1162 {
1163 unsigned n = 0;
1164 struct replace_filefd ffd = {
1165 .files = files,
1166 .fd = fd,
1167 .fdfile = fdfile,
1168 .file = file
1169 };
1170
1171 /*
1172 * Check if the file referenced by the fd number is linked to the epoll
1173 * interface. If yes, replace the reference with the received file in
1174 * the epoll interface.
1175 */
1176 if (fdfile && fdfile->f_ep) {
> 1177 eventpoll_replace_file(fdfile, file);
1178 }
1179 /*
1180 * Install the received file in the file descriptor table for all fd
1181 * numbers referencing the same file as the one we are trying to
1182 * replace. Do not install it for the fd number received since that is
1183 * handled in do_dup2()
1184 */
1185 iterate_fd(files, n, do_replace_fd_array, &ffd);
1186 }
1187
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-03-24 9:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 6:34 [RFC v4 1/2] file: allow callers to free the old file descriptor after dup2 aloktiagi
2023-03-24 6:34 ` [RFC v4 2/2] file, epoll: Implement do_replace() and eventpoll_replace() aloktiagi
2023-03-24 9:03 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-18 6:02 [RFC v2 1/3] file: Introduce iterate_fd_locked aloktiagi
2023-03-18 6:02 ` [RFC v2 2/3] file: allow callers to free the old file descriptor after dup2 aloktiagi
2023-03-18 6:02 ` [RFC v2 3/3] file, epoll: Implement do_replace() and eventpoll_replace() aloktiagi
2023-03-18 8:10 ` kernel test robot
2023-03-20 14:51 ` Christian Brauner
2023-03-23 22:23 ` Alok Tiagi
2023-03-24 8:23 ` [RFC v4 2/2] " Christian Brauner
2023-03-24 13:43 ` Tycho Andersen
2023-03-27 9:01 ` Christian Brauner
2023-03-27 13:06 ` Tycho Andersen
2023-03-27 13:16 ` Tycho Andersen
2023-03-27 20:39 ` Alok Tiagi
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=202303241601.tE7CEyMq-lkp@intel.com \
--to=lkp@intel.com \
--cc=aloktiagi@gmail.com \
--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 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.