On Thu, Mar 18, 2021 at 02:33:08PM +0000, Andrew Scull wrote: > There is some non-trivial config-based logic to get the file name and > line number associated with a bug. Factor this out to a getter that can > be resused. typo: "resused" > > Signed-off-by: Andrew Scull <ascull@xxxxxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> > Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> > --- > include/linux/bug.h | 3 +++ > lib/bug.c | 27 +++++++++++++++++---------- > 2 files changed, 20 insertions(+), 10 deletions(-) Patch looks fine: Acked-by: Will Deacon <will@xxxxxxxxxx> Will _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm