Thread (30 messages) 30 messages, 4 authors, 2026-03-02

Re: [PATCH v19 01/10] power: reset: reboot-mode: Remove devres based allocations

From: Shivendra Pratap <hidden>
Date: 2026-01-06 06:31:11
Also in: linux-arm-kernel, linux-arm-msm, linux-pm, lkml


On 1/6/2026 3:01 AM, Dmitry Baryshkov wrote:
On Mon, Jan 05, 2026 at 11:46:40PM +0530, Shivendra Pratap wrote:
quoted

On 1/2/2026 3:35 PM, Bartosz Golaszewski wrote:
quoted
On Sun, Dec 28, 2025 at 6:20 PM Shivendra Pratap
[off-list ref] wrote:
[snip]
quoted
quoted
+                       pr_err("reboot mode %s without magic number\n", prop->name);
If this is an error, shouldn't we bail out?
quoted
+                       continue;
This is not an error as per original design of reboot-mode framework.
The code as of now says, if the reboot-mode node has an entry without
proper magic value, ignore it, and, process the next.
Then why are you using error level for the message printout?
I have changed from dev_err to pr_err. Can make it pr_info. Will
that change need a mention in commit text?

thanks,
Shivendra
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help