Merge "init: skip "name" DT entry" am: 24e3b8d091
am: b95031f87a
* commit 'b95031f87a013d86188c63fe47908f35c7c34654':
init: skip "name" DT entry
This commit is contained in:
commit
ca4c088214
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ static void process_kernel_dt() {
|
|||
|
||||
struct dirent *dp;
|
||||
while ((dp = readdir(dir.get())) != NULL) {
|
||||
if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible")) {
|
||||
if (dp->d_type != DT_REG || !strcmp(dp->d_name, "compatible") || !strcmp(dp->d_name, "name")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue