← Commit list

196e40044

Denys Vlasenko
Denys Vlasenko
2015-11-06
SUCCESS Duration: 270s

Subject

modutils: fix build error with !DEPMOD

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

modutils/modutils.c+1 -1
@@ -39,7 +39,7 @@ static module_entry *helper_get_module(module_db *db, const char *module, int cr
e->modname = xstrdup(modname);
e->next = db->buckets[hash];
db->buckets[hash] = e;
- e->dnext = e->dprev = e;
+ IF_DEPMOD(e->dnext = e->dprev = e;)
return e;
}