* [trace:ftrace/eventfs 29/31] fs/tracefs/event_inode.c:203:24: warning: Unused variable: ti [unusedVariable]
@ 2021-04-08 5:05 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-08 5:05 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2083 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/eventfs
head: 98c5aabb161e22a877a91272fb99f8a1e9d9e784
commit: 257ae215118381ba942287c5fc7edf81336bc5d5 [29/31] Fixes to make it compile
compiler: xtensa-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> fs/tracefs/event_inode.c:203:24: warning: Unused variable: ti [unusedVariable]
struct tracefs_inode *ti;
^
>> fs/tracefs/event_inode.c:204:24: warning: Unused variable: ei [unusedVariable]
struct eventfs_inode *ei;
^
>> fs/tracefs/event_inode.c:205:23: warning: Unused variable: ef [unusedVariable]
struct eventfs_file *ef, *n;
^
>> fs/tracefs/event_inode.c:205:28: warning: Unused variable: n [unusedVariable]
struct eventfs_file *ef, *n;
^
vim +203 fs/tracefs/event_inode.c
fa0d07bef48a9a Ajay Kaher 2021-01-31 202
fa0d07bef48a9a Ajay Kaher 2021-01-31 @203 struct tracefs_inode *ti;
fa0d07bef48a9a Ajay Kaher 2021-01-31 @204 struct eventfs_inode *ei;
fa0d07bef48a9a Ajay Kaher 2021-01-31 @205 struct eventfs_file *ef, *n;
fa0d07bef48a9a Ajay Kaher 2021-01-31 206 struct inode *inode = file_inode(file);
fa0d07bef48a9a Ajay Kaher 2021-01-31 207 struct dentry *dentry = file_dentry(file);
fa0d07bef48a9a Ajay Kaher 2021-01-31 208
02514bdd3c4be7 Ajay Kaher 2021-03-16 209 printk("%s:%d dir = %s\n", __func__, __LINE__, dentry->d_iname);
02514bdd3c4be7 Ajay Kaher 2021-03-16 210
:::::: The code at line 203 was first introduced by commit
:::::: fa0d07bef48a9aeb131618523c09d9ae154154c2 tracefs: Add eventfs for events
:::::: TO: Ajay Kaher <akaher@vmware.com>
:::::: CC: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [trace:ftrace/eventfs 29/31] fs/tracefs/event_inode.c:203:24: warning: Unused variable: ti [unusedVariable]
@ 2021-04-07 20:54 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-07 20:54 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2235 bytes --]
CC: kbuild-all(a)lists.01.org
TO: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/eventfs
head: 98c5aabb161e22a877a91272fb99f8a1e9d9e784
commit: 257ae215118381ba942287c5fc7edf81336bc5d5 [29/31] Fixes to make it compile
:::::: branch date: 6 hours ago
:::::: commit date: 6 hours ago
compiler: xtensa-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> fs/tracefs/event_inode.c:203:24: warning: Unused variable: ti [unusedVariable]
struct tracefs_inode *ti;
^
>> fs/tracefs/event_inode.c:204:24: warning: Unused variable: ei [unusedVariable]
struct eventfs_inode *ei;
^
>> fs/tracefs/event_inode.c:205:23: warning: Unused variable: ef [unusedVariable]
struct eventfs_file *ef, *n;
^
>> fs/tracefs/event_inode.c:205:28: warning: Unused variable: n [unusedVariable]
struct eventfs_file *ef, *n;
^
vim +203 fs/tracefs/event_inode.c
fa0d07bef48a9a Ajay Kaher 2021-01-31 202
fa0d07bef48a9a Ajay Kaher 2021-01-31 @203 struct tracefs_inode *ti;
fa0d07bef48a9a Ajay Kaher 2021-01-31 @204 struct eventfs_inode *ei;
fa0d07bef48a9a Ajay Kaher 2021-01-31 @205 struct eventfs_file *ef, *n;
fa0d07bef48a9a Ajay Kaher 2021-01-31 206 struct inode *inode = file_inode(file);
fa0d07bef48a9a Ajay Kaher 2021-01-31 207 struct dentry *dentry = file_dentry(file);
fa0d07bef48a9a Ajay Kaher 2021-01-31 208
02514bdd3c4be7 Ajay Kaher 2021-03-16 209 printk("%s:%d dir = %s\n", __func__, __LINE__, dentry->d_iname);
02514bdd3c4be7 Ajay Kaher 2021-03-16 210
:::::: The code at line 203 was first introduced by commit
:::::: fa0d07bef48a9aeb131618523c09d9ae154154c2 tracefs: Add eventfs for events
:::::: TO: Ajay Kaher <akaher@vmware.com>
:::::: CC: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-08 5:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 5:05 [trace:ftrace/eventfs 29/31] fs/tracefs/event_inode.c:203:24: warning: Unused variable: ti [unusedVariable] kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-04-07 20:54 kernel test robot
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.