diff --git a/kernel/trace/remote_test.c b/kernel/trace/remote_test.c
index e5023b9d2611..791128d7fd00 100644
--- a/kernel/trace/remote_test.c
+++ b/kernel/trace/remote_test.c
@@ -28,7 +28,7 @@ static int remote_test_load_simple_rb(int cpu, struct
ring_buffer_desc *rb_desc)
struct simple_buffer_page *bpages;
int ret = -ENOMEM;
- cpu_buffer = kmalloc(sizeof(*cpu_buffer), GFP_KERNEL);
+ cpu_buffer = kzalloc_obj(*cpu_buffer);
if (!cpu_buffer)
return ret;
--
2.53.0.473.g4a7958ca14-goog- [PATCH v13 19/32] KVM: arm64: Add PKVM_DISABLE_STAGE2_ON... Vincent Donnefort
- [PATCH v13 08/32] tracing: Add init callback to trace re... Vincent Donnefort
- [PATCH v13 12/32] ring-buffer: Export buffer_data_page a... Vincent Donnefort
- [PATCH v13 20/32] KVM: arm64: Add clock support to nVHE/... Vincent Donnefort
- [PATCH v13 22/32] KVM: arm64: Support unaligned fixmap i... Vincent Donnefort
- [PATCH v13 29/32] KVM: arm64: Add selftest event support... Vincent Donnefort
- [PATCH v13 23/32] KVM: arm64: Add tracing capability for... Vincent Donnefort
- [PATCH v13 24/32] KVM: arm64: Add trace remote for the n... Vincent Donnefort
- [PATCH v13 21/32] KVM: arm64: Initialise hyp_nr_cpus for... Vincent Donnefort
- [PATCH v13 25/32] KVM: arm64: Sync boot clock with the n... Vincent Donnefort
- [PATCH v13 31/32] fixup! tracing: Add a trace remote mod... Vincent Donnefort
- [PATCH v13 32/32] fixup! tracing: Add a trace remote mod... Vincent Donnefort
- [PATCH v13 27/32] KVM: arm64: Add event support to the n... Vincent Donnefort
- [PATCH v13 09/32] tracing: Add events to trace remotes Vincent Donnefort
- [PATCH v13 26/32] KVM: arm64: Add trace reset to the nVH... Vincent Donnefort
- [PATCH v13 28/32] KVM: arm64: Add hyp_enter/hyp_exit eve... Vincent Donnefort
- [PATCH v13 30/32] tracing: selftests: Add hypervisor tra... Vincent Donnefort
- Re: [PATCH v13 00/32] Tracefs support for pKVM Steven Rostedt
