From: kernel test robot <lkp@intel.com>
To: Manish Varma <varmam@google.com>,
Alexander Viro <viro@zeniv.linux.org.uk>,
Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@lists.01.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel-team@android.com,
Manish Varma <varmam@google.com>,
Kelly Rossmoyer <krossmo@google.com>
Subject: Re: [PATCH v2] fs: Improve eventpoll logging to stop indicting timerfd
Date: Thu, 1 Apr 2021 14:44:45 +0800 [thread overview]
Message-ID: <202104011400.DGEzXoIr-lkp@intel.com> (raw)
In-Reply-To: <20210401021645.2609047-1-varmam@google.com>
[-- Attachment #1: Type: text/plain, Size: 2925 bytes --]
Hi Manish,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc5 next-20210331]
[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/Manish-Varma/fs-Improve-eventpoll-logging-to-stop-indicting-timerfd/20210401-101954
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d19cc4bfbff1ae72c3505a00fb8ce0d3fa519e6c
config: um-randconfig-r006-20210401 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/49789288695d81f196d99fadd89b5101b26bca8b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Manish-Varma/fs-Improve-eventpoll-logging-to-stop-indicting-timerfd/20210401-101954
git checkout 49789288695d81f196d99fadd89b5101b26bca8b
# save the attached .config to linux build tree
make W=1 ARCH=um
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 >>):
cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
fs/eventpoll.c: In function 'ep_create_wakeup_source':
>> fs/eventpoll.c:1375:26: error: 'wakesource_create_id' undeclared (first use in this function); did you mean 'wakeup_source_create'?
1375 | id = atomic_inc_return(&wakesource_create_id);
| ^~~~~~~~~~~~~~~~~~~~
| wakeup_source_create
fs/eventpoll.c:1375:26: note: each undeclared identifier is reported only once for each function it appears in
vim +1375 fs/eventpoll.c
1357
1358 static int ep_create_wakeup_source(struct epitem *epi)
1359 {
1360 struct name_snapshot n;
1361 struct wakeup_source *ws;
1362 pid_t task_pid;
1363 char buf[64];
1364 int id;
1365
1366 task_pid = task_pid_nr(current);
1367
1368 if (!epi->ep->ws) {
1369 snprintf(buf, sizeof(buf), "epoll:%d", task_pid);
1370 epi->ep->ws = wakeup_source_register(NULL, buf);
1371 if (!epi->ep->ws)
1372 return -ENOMEM;
1373 }
1374
> 1375 id = atomic_inc_return(&wakesource_create_id);
1376 take_dentry_name_snapshot(&n, epi->ffd.file->f_path.dentry);
1377 snprintf(buf, sizeof(buf), "epollitem%d:%d.%s", id, task_pid, n.name.name);
1378 ws = wakeup_source_register(NULL, buf);
1379 release_dentry_name_snapshot(&n);
1380
1381 if (!ws)
1382 return -ENOMEM;
1383 rcu_assign_pointer(epi->ws, ws);
1384
1385 return 0;
1386 }
1387
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 14435 bytes --]
prev parent reply other threads:[~2021-04-01 6:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 2:16 [PATCH v2] fs: Improve eventpoll logging to stop indicting timerfd Manish Varma
2021-04-01 2:28 ` Al Viro
2021-04-01 23:57 ` Manish Varma
2021-04-01 6:44 ` 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=202104011400.DGEzXoIr-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel-team@android.com \
--cc=krossmo@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=varmam@google.com \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).