commit | 9ffdf60bf463b7451e0fc8f9c8ec07c14dbd077c | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <[email protected]> | Sat Mar 04 14:26:43 2017 +0100 |
committer | David Gibson <[email protected]> | Mon Mar 06 14:19:26 2017 +1100 |
tree | 09257e9844efa1e6ed06c478cbc11e0b0c83969d | |
parent | 881012e443860c7662a7c53ea38f398d623f820c [diff] |
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: Nicolas Iooss <[email protected]> Signed-off-by: David Gibson <[email protected]>