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

Shivendra Pratap shivendra.pratap at oss.qualcomm.com
Mon Jan 5 10:16:40 PST 2026



On 1/2/2026 3:35 PM, Bartosz Golaszewski wrote:
> On Sun, Dec 28, 2025 at 6:20 PM Shivendra Pratap
> <shivendra.pratap at oss.qualcomm.com> wrote:

[snip]

> 
>> +                       pr_err("reboot mode %s without magic number\n", prop->name);
> 
> If this is an error, shouldn't we bail out?
> 
>> +                       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.

thanks,
Shivendra



More information about the linux-arm-kernel mailing list