Re: [PATCH v4 2/7] PCI/parisc: Clean up resource debug print & use dynamic debug
From: Helge Deller
Date: Fri Oct 23 2026 - 07:47:13 EST
On 10/21/26 14:49, Ilpo Järvinen wrote:
Remove adhoc RES_DBG() and use pci_dbg() instead.
Remove printing parent resource as the passed is a temporary resource
not within the resource tree so accessing ->parent does not make sense.
Reformat the message to the typical format used by PCI core. Print the
resource using %pR.
Correct format specifiers and remove non-sensical res->flags int cast.
Dynamic debug prints can be enabled by providing dyndbg command line
parameter or through /sys/kernel/debug/dynamic_debug/control so this
is more versatile way to debug things than the previous compile time
decision which could only be enable by changing the source code.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Acked-by: Helge Deller <deller@xxxxxx>