* [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21
@ 2022-11-16 21:18 kernel test robot
2022-11-16 21:38 ` Peter Zijlstra
0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2022-11-16 21:18 UTC (permalink / raw)
To: x86-ml; +Cc: linux-kernel
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
branch HEAD: e8d7a90c08ce963c592fb49845f2ccc606a2ac21 perf: Fix possible memleak in pmu_dev_alloc()
Warning: (recently discovered and may have been fixed)
kernel/events/core.c:11274:4: warning: cast from 'int (*)(struct perf_cpu_pmu_context *)' to 'remote_function_f' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- hexagon-randconfig-r001-20221116
| `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
|-- hexagon-randconfig-r005-20221116
| `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
`-- s390-randconfig-r012-20221116
`-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
elapsed time: 722m
configs tested: 53
configs skipped: 2
gcc tested configs:
arc defconfig
alpha defconfig
s390 defconfig
s390 allmodconfig
arm defconfig
m68k allyesconfig
m68k allmodconfig
x86_64 rhel-8.3-kselftests
arc allyesconfig
x86_64 rhel-8.3-func
ia64 allmodconfig
alpha allyesconfig
i386 defconfig
arm64 allyesconfig
powerpc allnoconfig
i386 randconfig-a012
arm allyesconfig
x86_64 defconfig
x86_64 rhel-8.3-syz
powerpc allmodconfig
i386 randconfig-a014
x86_64 rhel-8.3-kunit
mips allyesconfig
x86_64 randconfig-a013
x86_64 randconfig-a002
x86_64 randconfig-a011
x86_64 rhel-8.3-kvm
i386 allyesconfig
i386 randconfig-a016
sh allmodconfig
x86_64 rhel-8.3
x86_64 randconfig-a015
x86_64 randconfig-a004
x86_64 allyesconfig
x86_64 randconfig-a006
i386 randconfig-a001
i386 randconfig-a003
i386 randconfig-a005
um i386_defconfig
um x86_64_defconfig
s390 allyesconfig
clang tested configs:
i386 randconfig-a013
i386 randconfig-a011
x86_64 randconfig-a001
i386 randconfig-a015
x86_64 randconfig-a012
x86_64 randconfig-a003
x86_64 randconfig-a016
x86_64 randconfig-a005
x86_64 randconfig-a014
i386 randconfig-a002
i386 randconfig-a004
i386 randconfig-a006
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21
2022-11-16 21:18 [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21 kernel test robot
@ 2022-11-16 21:38 ` Peter Zijlstra
2022-11-17 3:56 ` Ravi Bangoria
2022-11-17 10:26 ` Chen, Rong A
0 siblings, 2 replies; 5+ messages in thread
From: Peter Zijlstra @ 2022-11-16 21:38 UTC (permalink / raw)
To: kernel test robot; +Cc: x86-ml, linux-kernel
On Thu, Nov 17, 2022 at 05:18:45AM +0800, kernel test robot wrote:
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
> branch HEAD: e8d7a90c08ce963c592fb49845f2ccc606a2ac21 perf: Fix possible memleak in pmu_dev_alloc()
>
> Warning: (recently discovered and may have been fixed)
>
> kernel/events/core.c:11274:4: warning: cast from 'int (*)(struct perf_cpu_pmu_context *)' to 'remote_function_f' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- hexagon-randconfig-r001-20221116
> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
> |-- hexagon-randconfig-r005-20221116
> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
> `-- s390-randconfig-r012-20221116
> `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
Robot guys; why don't I have a report of this warning?
Also, this very much isn't caused by this patch, this is a pre-existing
issue.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21
2022-11-16 21:38 ` Peter Zijlstra
@ 2022-11-17 3:56 ` Ravi Bangoria
2022-11-17 8:18 ` Peter Zijlstra
2022-11-17 10:26 ` Chen, Rong A
1 sibling, 1 reply; 5+ messages in thread
From: Ravi Bangoria @ 2022-11-17 3:56 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: x86-ml, linux-kernel, kernel test robot, Ravi Bangoria
Hi Peter,
>> kernel/events/core.c:11274:4: warning: cast from 'int (*)(struct perf_cpu_pmu_context *)' to 'remote_function_f' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
>>
>> Warning ids grouped by kconfigs:
>>
>> clang_recent_errors
>> |-- hexagon-randconfig-r001-20221116
>> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>> |-- hexagon-randconfig-r005-20221116
>> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>> `-- s390-randconfig-r012-20221116
>> `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>
> Robot guys; why don't I have a report of this warning?
https://lore.kernel.org/all/202211041643.J58xvn1k-lkp@intel.com
I'll prepare and post a fix.
Thanks,
Ravi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21
2022-11-17 3:56 ` Ravi Bangoria
@ 2022-11-17 8:18 ` Peter Zijlstra
0 siblings, 0 replies; 5+ messages in thread
From: Peter Zijlstra @ 2022-11-17 8:18 UTC (permalink / raw)
To: Ravi Bangoria; +Cc: x86-ml, linux-kernel, kernel test robot
On Thu, Nov 17, 2022 at 09:26:49AM +0530, Ravi Bangoria wrote:
> Hi Peter,
>
> >> kernel/events/core.c:11274:4: warning: cast from 'int (*)(struct perf_cpu_pmu_context *)' to 'remote_function_f' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
> >>
> >> Warning ids grouped by kconfigs:
> >>
> >> clang_recent_errors
> >> |-- hexagon-randconfig-r001-20221116
> >> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
> >> |-- hexagon-randconfig-r005-20221116
> >> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
> >> `-- s390-randconfig-r012-20221116
> >> `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
> >
> > Robot guys; why don't I have a report of this warning?
>
> https://lore.kernel.org/all/202211041643.J58xvn1k-lkp@intel.com
Hurgh, clearly I can't even search :/
> I'll prepare and post a fix.
Already did that last night:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?h=perf/core&id=3aed27110419792e8e26ba3aed1dd9462975cc6e
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21
2022-11-16 21:38 ` Peter Zijlstra
2022-11-17 3:56 ` Ravi Bangoria
@ 2022-11-17 10:26 ` Chen, Rong A
1 sibling, 0 replies; 5+ messages in thread
From: Chen, Rong A @ 2022-11-17 10:26 UTC (permalink / raw)
To: Peter Zijlstra, kernel test robot; +Cc: x86-ml, linux-kernel
On 11/17/2022 5:38 AM, Peter Zijlstra wrote:
> On Thu, Nov 17, 2022 at 05:18:45AM +0800, kernel test robot wrote:
>> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
>> branch HEAD: e8d7a90c08ce963c592fb49845f2ccc606a2ac21 perf: Fix possible memleak in pmu_dev_alloc()
>>
>> Warning: (recently discovered and may have been fixed)
>>
>> kernel/events/core.c:11274:4: warning: cast from 'int (*)(struct perf_cpu_pmu_context *)' to 'remote_function_f' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
>>
>> Warning ids grouped by kconfigs:
>>
>> clang_recent_errors
>> |-- hexagon-randconfig-r001-20221116
>> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>> |-- hexagon-randconfig-r005-20221116
>> | `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>> `-- s390-randconfig-r012-20221116
>> `-- kernel-events-core.c:warning:cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type
>
> Robot guys; why don't I have a report of this warning?
>
> Also, this very much isn't caused by this patch, this is a pre-existing
> issue.
>
Hi Peter,
Sorry for the misunderstanding,it's a summary report to show recent
issues, we didn't find it in your repo before merging into tip tree,
we'll take a look to improve the system.
Best Regards,
Rong Chen
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-17 10:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 21:18 [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21 kernel test robot
2022-11-16 21:38 ` Peter Zijlstra
2022-11-17 3:56 ` Ravi Bangoria
2022-11-17 8:18 ` Peter Zijlstra
2022-11-17 10:26 ` Chen, Rong A
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®