lkml.org 
[lkml]   [2021]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V8 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks
Date
On 16/7/2021 4:53 pm, Zhu Lingshan wrote:
> + } else if (xenpmu_data->pmu.r.regs.cpl & 3)

Lingshan, serious for this version ?

arch/x86/xen/pmu.c:438:9: error: expected identifier or ‘(’ before ‘return’
438 | return state;
| ^~~~~~
arch/x86/xen/pmu.c:439:1: error: expected identifier or ‘(’ before ‘}’ token
439 | }
| ^
arch/x86/xen/pmu.c: In function ‘xen_guest_state’:
arch/x86/xen/pmu.c:436:9: error: control reaches end of non-void
function [-Werror=return-type]
436 | }
| ^
cc1: some warnings being treated as errors

> + state |= PERF_GUEST_USER;
> }

\
 
 \ /
  Last update: 2021-07-21 14:04    [W:0.135 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site