mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
dyndbg: use gcc ?: to reduce word count
reduce word count via gcc ?: extension, no actual code change. Acked-by: <jbaron@akamai.com> Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20200719231058.1586423-12-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
47e9f5a823
commit
f62fc08fdc
@ -127,10 +127,10 @@ static void vpr_info_dq(const struct ddebug_query *query, const char *msg)
|
||||
|
||||
vpr_info("%s: func=\"%s\" file=\"%s\" module=\"%s\" format=\"%.*s\" lineno=%u-%u\n",
|
||||
msg,
|
||||
query->function ? query->function : "",
|
||||
query->filename ? query->filename : "",
|
||||
query->module ? query->module : "",
|
||||
fmtlen, query->format ? query->format : "",
|
||||
query->function ?: "",
|
||||
query->filename ?: "",
|
||||
query->module ?: "",
|
||||
fmtlen, query->format ?: "",
|
||||
query->first_lineno, query->last_lineno);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user