lkml.org 
[lkml]   [2020]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] reboot: hide from sysfs not applicable settings
On Mon 2020-11-30 18:37:17, Matteo Croce wrote:
> From: Matteo Croce <mcroce@microsoft.com>
>
> Not all the reboot settings from both the kernel command line or sysfs
> interface are available to all platforms.
>
> Filter out reboot_type and reboot_force which are x86 only, and also
> remove reboot_cpu on kernels without SMP support.
>
> This saves some space, and avoid confusing the user with settings which
> will have no effect.
>
> Signed-off-by: Matteo Croce <mcroce@microsoft.com>

Looks good to be.

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

\
 
 \ /
  Last update: 2020-12-01 11:55    [W:0.073 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site