projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs/seq_file: fix out-of-bounds read
[cascardo/linux.git]
/
mm
/
sparse.c
diff --git
a/mm/sparse.c
b/mm/sparse.c
index
36d7bbb
..
1e168bf
100644
(file)
--- a/
mm/sparse.c
+++ b/
mm/sparse.c
@@
-59,7
+59,7
@@
static inline void set_section_nid(unsigned long section_nr, int nid)
#endif
#ifdef CONFIG_SPARSEMEM_EXTREME
#endif
#ifdef CONFIG_SPARSEMEM_EXTREME
-static
struct mem_section noinline __init_refok
*sparse_index_alloc(int nid)
+static
noinline struct mem_section __ref
*sparse_index_alloc(int nid)
{
struct mem_section *section = NULL;
unsigned long array_size = SECTIONS_PER_ROOT *
{
struct mem_section *section = NULL;
unsigned long array_size = SECTIONS_PER_ROOT *