aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2019-10-03 15:32:18 +0300
committerRafael J. Wysocki <[email protected]>2019-10-11 11:26:55 +0200
commit3bd32d6a2ee62db3c5b06caf7b163b6a4d459ea1 (patch)
treed3252ed3c0a5bc4043d88766f08ab3fee374f438 /lib/debugobjects.c
parent83abc5a77f3b028b8c845c39ce4053119e1de35b (diff)
lib/vsprintf: Add %pfw conversion specifier for printing fwnode names
Add support for %pfw conversion specifier (with "f" and "P" modifiers) to support printing full path of the node, including its name ("f") and only the node's name ("P") in the printk family of functions. The two flags have equivalent functionality to existing %pOF with the same two modifiers ("f" and "P") on OF based systems. The ability to do the same on ACPI based systems is added by this patch. On ACPI based systems the resulting strings look like \[email protected]@0 where the nodes are separated by a dot (".") and the first three are ACPI device nodes and the latter two ACPI data nodes. Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions