Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-28 13:53:03
Last Modify:2022-05-23 13:07:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:obsolete_checksetup

Proto:static bool __init obsolete_checksetup(char *line)

Type:bool

Parameter:

TypeParameterName
char *line
181  bool had_early_param = false
183  p = __setup_start
184  Do
185  n = strlen(str)
186  If parameqn(line, str, n) Then
187  If early Then
192  If line[n] == '\0' || line[n] == '=' Then had_early_param = true
194  Else if Not setup_func Then
195  pr_warn("Parameter %s is obsolete, ignored\n", str)
197  Return true
198  Else if setup_func(line + n) Then Return true
201  p++
202  When p < __setup_end cycle
204  Return had_early_param
Caller
NameDescribe
unknown_bootoptionUnknown boot options get handed to init, unless they look like* unused parameters (modprobe will find them in /proc/cmdline).