summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kwilczynski@kernel.org>2026-07-20 21:08:39 +0000
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2026-08-01 04:03:30 +0000
commitce3294cef61c85559059a9a49fa99a38df55d633 (patch)
treecb4c8475518ddfba47efcec6e7c3eb25c6bbe75a /scripts/patch-kernel
parente290be3134994f8b84c9d0026666d4f146131d86 (diff)
downloadlinux-ce3294cef61c85559059a9a49fa99a38df55d633.tar.gz
linux-ce3294cef61c85559059a9a49fa99a38df55d633.zip
PCI: Use %pe format specifier to print error pointers
Currently, several files in the PCI tree print error pointers using the %ld format specifier together with an explicit PTR_ERR() conversion, which prints the numeric errno value. Thus, at every affected call site, use the %pe format specifier, which exists specifically to print error pointers, and pass the error pointer directly. With CONFIG_SYMBOLIC_ERRNAME enabled, this prints a symbolic error name such as -ENOMEM, falling back to the numeric errno value otherwise. As such, the explicit PTR_ERR() conversion is no longer needed. No functional changes intended. Link: https://patch.msgid.link/20260720210839.1507406-1-kwilczynski@kernel.org Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions