[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SY4P282MB1084FD036E733BBBE4D476FF9DCEA@SY4P282MB1084.AUSP282.PROD.OUTLOOK.COM>
Date: Mon, 9 Oct 2023 11:17:51 +0800
From: Tianyi Liu <i.pear@...look.com>
To: i.pear@...look.com
Cc: acme@...nel.org, adrian.hunter@...el.com,
alexander.shishkin@...ux.intel.com, irogers@...gle.com,
jolsa@...nel.org, kvm@...r.kernel.org, kvmarm@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, mark.rutland@....com,
mingo@...hat.com, namhyung@...nel.org, pbonzini@...hat.com,
peterz@...radead.org, seanjc@...gle.com, x86@...nel.org
Subject: Re: [PATCH v2 1/5] KVM: Add arch specific interfaces for sampling guest callchains
> All warnings (new ones prefixed by >>):
>
> arch/x86/kvm/x86.c: In function 'kvm_arch_vcpu_read_virt':
> >> arch/x86/kvm/x86.c:12917:42: warning: passing argument 2 of 'kvm_read_guest_virt' makes integer from pointer without a cast [-Wint-conversion]
> 12917 | return kvm_read_guest_virt(vcpu, addr, dest, length, &e) == X86EMUL_CONTINUE;
> | ^~~~
> | |
> | void *
> arch/x86/kvm/x86.c:7388:38: note: expected 'gva_t' {aka 'long unsigned int'} but argument is of type 'void *'
> 7388 | gva_t addr, void *val, unsigned int bytes,
> | ~~~~~~^~~~
>
Terribly sorry for the build warnings, which is caused by type casting.
Will be fixed in the next version.
Powered by blists - more mailing lists