From patchwork Thu Jun 4 11:19:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Vm9qdMSbY2ggS3LDoXRrw70=?= X-Patchwork-Id: 2400 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mxe881.netcup.net (Postfix) with ESMTPS id CA9AA1C1372 for ; Thu, 4 Jun 2026 13:37:29 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=seznam.cz; spf=pass (sender IP is 104.64.211.4) smtp.mailfrom=linux-sunxi+bounces-23729-noreply=patchwork.local@lists.linux.dev smtp.helo=sin.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 104.64.211.4 as permitted sender) client-ip=104.64.211.4; envelope-from=linux-sunxi+bounces-23729-noreply=patchwork.local@lists.linux.dev; helo=sin.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 4D59B30B49A7 for ; Thu, 4 Jun 2026 11:23:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1F504279F8; Thu, 4 Jun 2026 11:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=seznam.cz header.i=@seznam.cz header.b="iCR879YN" X-Original-To: linux-sunxi@lists.linux.dev Received: from mxd.seznam.cz (mxd.seznam.cz [77.75.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EC63425CF0 for ; Thu, 4 Jun 2026 11:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.75.76.210 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780572147; cv=none; b=JCY2omyHCiV4wc8JqaChHhuNXepiFBlF8p/OJWp4a6RWPKcFM6CR2tY1qwkbtmiYO/TEHi4JpUXWbeszgrqJt6CZiOeQX6nFMGr/ZRsavD4xyBby2eMCccUxf0SRmOtXSt4RPff11gdPJaj1qWfKmCgnEsa0Px4MWQYO9KuYgmE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780572147; c=relaxed/simple; bh=I4ZBonFXXkUn4WQfeqtoe1y3yeK7a5pXz6lJaSDu4P0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SEPHydmN+8tRWQJZNuSWjFnuyVRCusK7sHVBOBEK05NxcP8Z39DqUF3MLuP5qpaj6ApusDVdaltVGiJCJX1gdR2Eb51Fosv/imFNoY4v3LJPD1JkpRKJqYxhtgIXMD9mrZiBM+xTVvlZZexPwrYQR+RerpQ5GGich3HDBlQ0NA8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=seznam.cz; spf=pass smtp.mailfrom=seznam.cz; dkim=pass (2048-bit key) header.d=seznam.cz header.i=@seznam.cz header.b=iCR879YN; arc=none smtp.client-ip=77.75.76.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=seznam.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=seznam.cz Received: from email.seznam.cz by smtpc-mxd-5757bcb9c-s9zn4 (smtpc-mxd-5757bcb9c-s9zn4 [2a02:598:128:8a00::1000:a07]) id 38506878803f45f73aaef2e4; Thu, 04 Jun 2026 13:21:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=szn1; t=1780572117; bh=wCEJ/9yhLVB8JdzIcP+db8CqyYZgJF5pDJrP/8tLAoM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=iCR879YNeXrrl8oOQc7DgJZ8wIrA2BTQRmcLkyvfkH0E94c8ZPUTR0AhJcNZKzr87 GMCt61YCOnWvYYkUCQLEaPJ1boXU6TKy+7+r6qdI8J+sq+PsqwzLGHGS2cOLxIE/lS YW98gM4iDb3yE7qEgHWumbNmwn+sbBftgAd1LmdPtqCec1loqVGVtXbJa5ergq3Go1 H/xF2wq+214/A+0YowZ/asWdu3rMvzaZRlDhxKpyBSNcrYWDPXHcgExF/pNEfh2tVv SscYn6H4rcW087bLiRuheOukpZzuF3f7ycN12DYmz7eLoTGY19B+1aFSDj6vyhnfwy H9jQXYMLqBnjw== Received: from archlinux (ezechiel.sdb.cz [185.100.196.77]) by smtpd-relay-b58bfc659-d5tsb (szn-email-smtpd/2.0.73) with ESMTPA id 9a322fe9-fdf2-4ac5-9e75-bb9bb4fd8000; Thu, 04 Jun 2026 13:21:48 +0200 From: =?utf-8?b?Vm9qdMSbY2ggS3LDoXRrw70=?= To: linux-iio@vger.kernel.org Cc: =?utf-8?b?Vm9qdMSbY2ggS3LDoXRrw70=?= , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Wolfram Sang , Sakari Ailus , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 02/11] iio: adc: change from %ld to %pe for PTR_ERR() printing Date: Thu, 4 Jun 2026 13:19:00 +0200 Message-ID: <20260604111921.106936-2-vo.kratky@seznam.cz> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260604111921.106936-1-vo.kratky@seznam.cz> References: <20260604111921.106936-1-vo.kratky@seznam.cz> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Found by Coccinelle. No functional change intended. Signed-off-by: Vojtěch Krátký --- drivers/iio/adc/sun4i-gpadc-iio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c b/drivers/iio/adc/sun4i-gpadc-iio.c index 479115ea50bf..5d7a61abcaea 100644 --- a/drivers/iio/adc/sun4i-gpadc-iio.c +++ b/drivers/iio/adc/sun4i-gpadc-iio.c @@ -508,7 +508,7 @@ static int sun4i_gpadc_probe_dt(struct platform_device *pdev, &sun4i_gpadc_regmap_config); if (IS_ERR(info->regmap)) { ret = PTR_ERR(info->regmap); - dev_err(&pdev->dev, "failed to init regmap: %d\n", ret); + dev_err(&pdev->dev, "failed to init regmap: %pe\n", info->regmap); return ret; } @@ -639,8 +639,8 @@ static int sun4i_gpadc_probe(struct platform_device *pdev) */ if (IS_ERR(info->tzd) && PTR_ERR(info->tzd) != -ENODEV) { dev_err(&pdev->dev, - "could not register thermal sensor: %ld\n", - PTR_ERR(info->tzd)); + "could not register thermal sensor: %pe\n", + info->tzd); return PTR_ERR(info->tzd); } }