Messages in this thread | | | Subject | [PATCH 6/7] kernel-trace: Adjust two checks for null pointers in uprobe_buffer_init() | From | SF Markus Elfring <> | Date | Fri, 5 May 2017 23:06:16 +0200 |
| |
Am 05.05.2017 um 23:00 schrieb SF Markus Elfring: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Fri, 5 May 2017 22:50:05 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (7): > Combine two function calls into one in hist_trigger_entry_print() > Replace five seq_puts() calls by seq_putc() > Adjust two checks for null pointers in compatible_field() > Improve a size determination in create_hist_field() > Replace two seq_printf() calls by seq_puts() in probes_seq_show() > Adjust two checks for null pointers in uprobe_buffer_init() > Delete an error message for a failed memory allocation in create_trace_uprobe() > > kernel/trace/trace_events_hist.c | 18 ++++++++---------- > kernel/trace/trace_uprobe.c | 10 ++++------ > 2 files changed, 12 insertions(+), 16 deletions(-) >
| |