CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Rob Herring <[email protected]>
CC: Will Deacon <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   c122052c3cb861b3e61a01d2c2ab9069e470663e
commit: 83a7a4d643d33a8b74a42229346b7ed7139fcef9 [6656/8462] arm64: perf: 
Enable PMU counter userspace access for perf event
:::::: branch date: 21 hours ago
:::::: commit date: 4 days 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/perf_event.c:299:2: warning: Non-boolean value returned 
>> from function returning bool [returnNonBoolInBooleanFunction]
    return event->attr.config1 & 0x2;
    ^

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