Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Sakari Ailus's avatar
    lib/vsprintf: Add %pfw conversion specifier for printing fwnode names · 3bd32d6a
    Sakari Ailus authored Oct 03, 2019
    
    
    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
    
    	\_SB.PCI0.CIO2.port@1.endpoint@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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    3bd32d6a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7