Use the helper function trace_seq_buffer_ptr() to get the current location
of the next buffer write of a trace_seq object, instead of open coding
it.
This facilitates the conversion of trace_seq to use seq_buf.
Tested-by: Jiri Kosina <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Cc: Chen Gong <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>