Messages in this thread | | | Date | Thu, 17 Nov 2022 09:18:16 +0100 | From | Peter Zijlstra <> | Subject | Re: [tip:perf/core] BUILD SUCCESS WITH WARNING e8d7a90c08ce963c592fb49845f2ccc606a2ac21 |
| |
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
| |