aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efi/cper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/cper.c
index 5b53d6183b6b..4fd9961d552e 100644
--- a/drivers/firmware/efi/cper.c
+++ b/drivers/firmware/efi/cper.c
@@ -294,7 +294,7 @@ void cper_mem_err_pack(const struct cper_sec_mem_err *mem,
294const char *cper_mem_err_unpack(struct trace_seq *p, 294const char *cper_mem_err_unpack(struct trace_seq *p,
295 struct cper_mem_err_compact *cmem) 295 struct cper_mem_err_compact *cmem)
296{ 296{
297 const char *ret = p->buffer + p->len; 297 const char *ret = trace_seq_buffer_ptr(p);
298 298
299 if (cper_mem_err_location(cmem, rcd_decode_str)) 299 if (cper_mem_err_location(cmem, rcd_decode_str))
300 trace_seq_printf(p, "%s", rcd_decode_str); 300 trace_seq_printf(p, "%s", rcd_decode_str);