From 35b46d012c03070e7bce21171a058648a0710428 Mon Sep 17 00:00:00 2001 From: Georg Schiesser Date: Tue, 10 May 2016 23:39:42 +0200 Subject: [PATCH 1/1] configs: fixed typo in e1000-demo pio_bitmap The pio_bitmap initialization incorrectly assigns overlapping ranges to different values, similar to commit 886ca63f. As Jan pointed out: "Fortunately, it was harmless because succeeding initializations overwrote this exceeding one." see also: https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html Signed-off-by: Georg Schiesser Signed-off-by: Jan Kiszka --- configs/e1000-demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/e1000-demo.c b/configs/e1000-demo.c index 088d92a..b935f07 100644 --- a/configs/e1000-demo.c +++ b/configs/e1000-demo.c @@ -69,7 +69,7 @@ struct { .pio_bitmap = { [ 0/8 ... 0x2f7/8] = -1, [ 0x2f8/8 ... 0x2ff/8] = 0, /* serial2 */ - [ 0x300/8 ... 0xcfff/8] = -1, + [ 0x300/8 ... 0xbfff/8] = -1, [0xc000/8 ... 0xc03f/8] = 0, /* e1000 */ [0xc040/8 ... 0xdfff/8] = -1, [0xe000/8 ... 0xe007/8] = 0, /* OXPCIe952 serial2 */ -- 2.39.2