diff options
author | Brian Norris <computersforpeace@gmail.com> | 2016-10-28 19:05:25 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-10-28 19:05:25 -0700 |
commit | 0e2ce9d3fcba5f92dd6c2b27d82690e49d0c0854 (patch) | |
tree | a3413237c8dee15dfe620848fecb37408a096345 /arch/x86/kernel/e820.c | |
parent | 30656167bd2347bf867a09cbae2705bd927d3983 (diff) | |
parent | 8ff0513bdcdd71e84aa561cce216675d43fb41b8 (diff) | |
download | lwn-0e2ce9d3fcba5f92dd6c2b27d82690e49d0c0854.tar.gz lwn-0e2ce9d3fcba5f92dd6c2b27d82690e49d0c0854.zip |
Merge tag 'nand/fixes-for-4.9-rc3' of github.com:linux-nand/linux
From Boris:
"""
Three simple fixes:
- the first one is fixing a non-critical bug in the gpmi driver
- the second one is fixing a bug in the 'automatic NAND timings
selection' feature introduced in 4.9-rc1
- the last one is fixing a false positive uninitialized-var warning
"""
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r-- | arch/x86/kernel/e820.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index b85fe5f91c3f..90e8dde3ec26 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -350,7 +350,7 @@ int __init sanitize_e820_map(struct e820entry *biosmap, int max_nr_map, * continue building up new bios map based on this * information */ - if (current_type != last_type) { + if (current_type != last_type || current_type == E820_PRAM) { if (last_type != 0) { new_bios[new_bios_entry].size = change_point[chgidx]->addr - last_addr; |