CC: [email protected]
CC: [email protected]
TO: Rob Herring <[email protected]>
CC: Will Deacon <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   9b57f458985742bd1c585f4c7f36d04634ce1143
commit: 83a7a4d643d33a8b74a42229346b7ed7139fcef9 arm64: perf: Enable PMU 
counter userspace access for perf event
date:   6 weeks ago
:::::: branch date: 16 hours ago
:::::: commit date: 6 weeks ago
compiler: aarch64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> arch/arm64/kernel/ptrace.c:1570:24: warning: Shifting a negative value is 
>> technically undefined behaviour [shiftNegativeLHS]
    return (abs(num) - 1) >> 1;
                          ^
--
>> arch/arm64/kernel/perf_event.c:299:2: warning: Non-boolean value returned 
>> from function returning bool [returnNonBoolInBooleanFunction]
    return event->attr.config1 & 0x2;
    ^
--
>> arch/arm64/kernel/traps.c:868:0: warning: There is an unknown macro here 
>> somewhere. Configuration is required. If DEFINE_PER_CPU is a macro then 
>> please configure it. [unknownMacro]
   
   ^

vim +299 arch/arm64/kernel/perf_event.c

57d74123954dfe Will Deacon 2015-12-22  296  
83a7a4d643d33a Rob Herring 2021-12-08  297  static inline bool 
armv8pmu_event_want_user_access(struct perf_event *event)
83a7a4d643d33a Rob Herring 2021-12-08  298  {
83a7a4d643d33a Rob Herring 2021-12-08 @299      return event->attr.config1 & 
0x2;
83a7a4d643d33a Rob Herring 2021-12-08  300  }
83a7a4d643d33a Rob Herring 2021-12-08  301  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to