• Bjorn Helgaas's avatar
    Simplify initcall_debug output · 626adeb6
    Bjorn Helgaas authored
    print_fn_descriptor_symbol() prints the address if we don't have a symbol, so
    no need to print both.
    
    Also, combine printing return value with elapsed time.  Changes this:
    
      Calling initcall 0xc05b7a70: pci_mmcfg_late_insert_resources+0x0/0x50()
      initcall 0xc05b7a70: pci_mmcfg_late_insert_resources+0x0/0x50() returned 1.
      initcall 0xc05b7a70 ran for 0 msecs: pci_mmcfg_late_insert_resources+0x0/0x50()
      initcall at 0xc05b7a70: pci_mmcfg_late_insert_resources+0x0/0x50(): returned with error code 1
    
    to this:
    
      calling  pci_mmcfg_late_insert_resources+0x0/0x50()
      initcall pci_mmcfg_late_insert_resources+0x0/0x50() returned 1 after 0 msecs
      initcall pci_mmcfg_late_insert_resources+0x0/0x50() returned with error code 1
    Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    626adeb6
main.c 20.7 KB