diff options
author | Andrew Scull <ascull@google.com> | 2021-03-18 15:33:09 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-01 10:54:37 +0200 |
commit | 5b8be5d875a996776708ba174fcd08c8bcd721a5 (patch) | |
tree | 609725de80512fb7dff50b84767a87addbfd0444 /kernel/configs.c | |
parent | bug: Factor out a getter for a bug's file line (diff) | |
download | linux-5b8be5d875a996776708ba174fcd08c8bcd721a5.tar.xz linux-5b8be5d875a996776708ba174fcd08c8bcd721a5.zip |
bug: Assign values once in bug_get_file_line()
Set bug_get_file_line()'s output parameter values directly rather than
first nullifying them and then conditionally setting new values.
Signed-off-by: Andrew Scull <ascull@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210318143311.839894-4-ascull@google.com
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions