Commit 9ffdf60b authored by Nicolas Iooss's avatar Nicolas Iooss Committed by David Gibson
Browse files

dtc: Simplify asm_emit_string() implementation



Using %.*s format helps making asm_emit_string() not modify its "str"
parameter.

While at it, constify the "str" parameter of bin_emit_string() and
asm_emit_string(), as these function no longer modify it.

Signed-off-by: default avatarNicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 881012e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment