Re: [PATCH buf-fix] kernel, range: fix broken mtrr_cleanup(Internetmail)

From: samuelliao(廖生苗)
Date: Wed Jun 12 2013 - 22:28:37 EST

I forget change final_start/final_end to start/end. The old code add empty range in following case:

Before mtrr cleanup:
1. got initial MTRR range: 0-3G.
2. MTRR code try to merge 0-1M
3. result is 0-0, 0-3G, total 2 range count

After cleanup:
1. got final MTRR range: 0-3G, total 1 range count

the cleanup code failed, because range count mismatch.