From nobody Mon Feb 9 17:23:55 2026 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D08B350A1C for ; Fri, 9 Jan 2026 08:38:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767947926; cv=none; b=WkTGfgu9XzCwRBR2mzDOhbRW9U/8VnDXno0+CPmt4EoKR3s9tfK09L/YTdJvUUBuUYKS4mrzq+15eu/hMUQ/tC2duMn7zZ0L2COOSwkrK65hzxwpBuO29NZynCllAYociwc37eCnYEvFQkhCKcJgnqqSWC9lWXid6im7wuYU/iM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767947926; c=relaxed/simple; bh=wpsSL6A4cEk5yirhuxjRb1Ls8ZJuBT9kv2aZnZ7E4tE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=feJ1BAnou/IJEKUOyg+79sXCQgQZTsQzApd92SD048K+V2RD/cvnv6FoMYUIoTBzOSU9LyyWEN5+R1ary7HWz4shNxKMBQFNOSUsqn63yWyhJqpytzgpXYGimUWw+rjIq7wZhBemFz2AXZkXEqEm/83h+k6UFxuaiJbsD1+pXc0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CuT0GcWu; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CuT0GcWu" Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-64b9230f564so5758241a12.1 for ; Fri, 09 Jan 2026 00:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767947920; x=1768552720; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=eR2M5vZrFrQ4qJBhOQVvbO4YXmcPexSacB/A1uPHlIU=; b=CuT0GcWu40PBptl42duU8c4PrtHHuarkBQZNWiIG8+GvINGO8xfOvdCbTTUw3DIAvt RjOHyCGZkj5iY8V2zGpZz5M+I7QaZI+iHgzaxQ/xmoTGLxLMYNvJYAZlrS6/ZZtapjBr qEB8o5EVleQ2ID0R5eM0mEQGwzl8kvLPaWqhoJCAqcoxtpyXTVtI9VbtBCYyJnugi9Fk wnVJEVVDsteDosxRomDqFUGuCiVRAAHrbmSgcAqrFygjlJMeOREqnHvM1gcu2cW1fewI wNBljLbhaW5SjlU4z1m+gB2RI49snf/e74VgY8EV6f+FUdrneGEhcF1XhJNcoTddZ94B eGjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767947920; x=1768552720; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=eR2M5vZrFrQ4qJBhOQVvbO4YXmcPexSacB/A1uPHlIU=; b=fQzca51rx3YlWDeu90QeaqfoHsa2GtuUBfw1iWTb9HDA9gIWELhB1yL52o1JZT2hk8 wKstHX8/uBVFsjKN5d+mDTV4T/slRBnJ1vKCQZ4bNJoZ3d9apyxXcJBBfrCV+vjjnCIP 29TssnQwj+hWAmM4mZXDq26gX8dHDwdrEo5j2DnPyAWNACRf17udIGajASkjT4mPgpTg EoemFGu18JUg3aVx05GN0s7jPZayexk2CFG6nbjAFEauBpgFgvuhlnyKVV6Ft251dSZZ c2AKsPxZqu/Crqkm5ojLikYu/zLTRHPddm0OU59T+eToGGt8oaV1+rmcw7zz06ZqNNvp VaKg== X-Forwarded-Encrypted: i=1; AJvYcCWpbfftB98VjJOEWyug+kZw7of0cGg7vNnU/Gg1V00v0QGm63DiYUUdpDenUAfhdgxrVPB7EkAcZPWFjoY=@vger.kernel.org X-Gm-Message-State: AOJu0YxnIeA6Vc7WOep6K8KjnGn2mN/jmWWcoPxa4TfwnWn7Z+APkTU0 sePhnVDe1c2UOL6t8e5x7TV+QzVn9Ua3k+WcV6xioU+fiqooyPSmfX58TXIafIc9t24= X-Gm-Gg: AY/fxX4me3lh3Ee5wWZBmYcXXl/pSbmmspuqeZRiGT6JFwGS8EQ2yq9lGGZ8l3rrOag nY6tm/4cG6INoFdp5SFsB4D4NUuQNwJobEt9ZF5MhgUyNU+E+mrunu6UnIBetc0hHAM/N89uK8G CVYIerCZ/rw9pTomu5C4aAKkO0Jk7PXr7LyK7eD8vUYOOWooO7NAfiXJnDcB7B5JP27RiHsQP0a 7mrEq+26/TcImZDVJpr2sxn7C5yb02IfeEjHxlQVT/Lrw+A828zgQ2Ujc4zrtez00vR7OZEHmOk 8ZZedt1UUsu648qqiFNx5xd3KoeSuav5ekHcnUVqnkg2PWBqwd/e3HeKdD1OvNnOUXyyP74kHPr 2ptv/3HJbcpRsEXsYgWidsZGEyvL/EJLbpzDJWZTZv6IOXbu4Ht4f4KKnYwiXth3qW8TbguFkAD RkCgRKSZlDF59eb4Ab8HnQpquPzTKhlCr3AV4HEeTBS0VLOXTnwPcHQIcVlY+sVy7cz0Pl2C0AK mkP4Q== X-Google-Smtp-Source: AGHT+IHSig42xTL9M5XmqkaDreEuEOif5gmvnT7sVudYQt0tkr7u0+a02ZWRBp974/bmgCGxBdqdPA== X-Received: by 2002:a05:6402:1ec5:b0:64e:f50d:ec9a with SMTP id 4fb4d7f45d1cf-65097e743e5mr8004766a12.30.1767947919731; Fri, 09 Jan 2026 00:38:39 -0800 (PST) Received: from puffmais2.c.googlers.com (244.175.141.34.bc.googleusercontent.com. [34.141.175.244]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507be658b3sm9472950a12.18.2026.01.09.00.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 00:38:39 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 09 Jan 2026 08:38:37 +0000 Subject: [PATCH v2 1/8] regulator: core: update two debug messages Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260109-regulators-defer-v2-1-1a25dc968e60@linaro.org> References: <20260109-regulators-defer-v2-0-1a25dc968e60@linaro.org> In-Reply-To: <20260109-regulators-defer-v2-0-1a25dc968e60@linaro.org> To: Liam Girdwood , Mark Brown , Javier Martinez Canillas , Jon Hunter , Dmitry Baryshkov , Oleksij Rempel Cc: Peter Griffin , Tudor Ambarus , Will McVicker , Juan Yescas , kernel-team@android.com, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.14.2 1) In print_constraints_debug(), the power budget is printed as: lldo2: 450 <--> 1300 mV at 900 mV 2147483647 mW budge, enabled (note the missing t in budget). This is because there is a --count just below the call to scnprintf(), to make space for the comma. All similar calls to scnprintf() above add an extra space to the format string to allow for that, but this one doesn't, so the last character t is stripped instead. Update the format string to fix the message. 2) Add the name of the supply to the failure message printed when the supply can not be resolved when debug messages are enabled to help with debug. Signed-off-by: Andr=C3=A9 Draszik --- drivers/regulator/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 4b6182cde859adb356d160a012e54dcf1646da38..a723bd00e1716c2c3899c63314c= 6249015698216 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1183,7 +1183,7 @@ static void print_constraints_debug(struct regulator_= dev *rdev) count +=3D scnprintf(buf + count, len - count, "standby "); =20 if (constraints->pw_budget_mW) - count +=3D scnprintf(buf + count, len - count, "%d mW budget", + count +=3D scnprintf(buf + count, len - count, "%d mW budget ", constraints->pw_budget_mW); =20 if (!count) @@ -5697,7 +5697,8 @@ static int regulator_register_resolve_supply(struct d= evice *dev, void *data) struct regulator_dev *rdev =3D dev_to_rdev(dev); =20 if (regulator_resolve_supply(rdev)) - rdev_dbg(rdev, "unable to resolve supply\n"); + rdev_dbg(rdev, "unable to resolve supply '%s'\n", + rdev->supply_name); =20 return 0; } --=20 2.52.0.457.g6b5491de43-goog