diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-11 02:50:05 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-11 02:50:05 -0500 |
| commit | 73cf7e111ed69d8e1b59a3ae41b14bc77215e9ee (patch) | |
| tree | 02cd3308d328bce9cf97bf2c1c9d5e932103ebfe /kernel/module.c | |
| parent | 328257099077e8affd438c179d8a938948de2e7f (diff) | |
| parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff) | |
Merge 4.15-rc3 into driver-core-next
We want the fixes and changes in here for testing.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module.c')
| -rw-r--r-- | kernel/module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/module.c b/kernel/module.c index f0411a271765..dea01ac9cb74 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
| @@ -4157,7 +4157,7 @@ static int m_show(struct seq_file *m, void *p) | |||
| 4157 | { | 4157 | { |
| 4158 | struct module *mod = list_entry(p, struct module, list); | 4158 | struct module *mod = list_entry(p, struct module, list); |
| 4159 | char buf[MODULE_FLAGS_BUF_SIZE]; | 4159 | char buf[MODULE_FLAGS_BUF_SIZE]; |
| 4160 | unsigned long value; | 4160 | void *value; |
| 4161 | 4161 | ||
| 4162 | /* We always ignore unformed modules. */ | 4162 | /* We always ignore unformed modules. */ |
| 4163 | if (mod->state == MODULE_STATE_UNFORMED) | 4163 | if (mod->state == MODULE_STATE_UNFORMED) |
| @@ -4173,8 +4173,8 @@ static int m_show(struct seq_file *m, void *p) | |||
| 4173 | mod->state == MODULE_STATE_COMING ? "Loading" : | 4173 | mod->state == MODULE_STATE_COMING ? "Loading" : |
| 4174 | "Live"); | 4174 | "Live"); |
| 4175 | /* Used by oprofile and other similar tools. */ | 4175 | /* Used by oprofile and other similar tools. */ |
| 4176 | value = m->private ? 0 : (unsigned long)mod->core_layout.base; | 4176 | value = m->private ? NULL : mod->core_layout.base; |
| 4177 | seq_printf(m, " 0x" KALLSYM_FMT, value); | 4177 | seq_printf(m, " 0x%px", value); |
| 4178 | 4178 | ||
| 4179 | /* Taints info */ | 4179 | /* Taints info */ |
| 4180 | if (mod->taints) | 4180 | if (mod->taints) |
