]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpiolib: acpi: Use %pe when passing an error pointer to dev_err()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Oct 2025 06:39:58 +0000 (08:39 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Oct 2025 06:40:46 +0000 (08:40 +0200)
commitb1055678a0160b2952c322ad1b61805562698f99
tree0e46213309cbc97abfa5bd1c9813bd10d6ec1899
parente4a77f9c85a528b3289c1d9570d6d73a7b5f847b
gpiolib: acpi: Use %pe when passing an error pointer to dev_err()

One of the coccinelle recipe suggests to use %pe when we deal with
an error pointer. Do it so.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Closes: https://lore.kernel.org/r/202510231350.calxvXIm-lkp@intel.com/
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi-core.c