From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR46U-0006fc-JI for qemu-devel@nongnu.org; Wed, 03 Feb 2016 15:32:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR46T-0005do-P4 for qemu-devel@nongnu.org; Wed, 03 Feb 2016 15:32:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR46T-0005d2-Jc for qemu-devel@nongnu.org; Wed, 03 Feb 2016 15:32:41 -0500 From: John Snow Date: Wed, 3 Feb 2016 15:32:23 -0500 Message-Id: <1454531555-32022-9-git-send-email-jsnow@redhat.com> In-Reply-To: <1454531555-32022-1-git-send-email-jsnow@redhat.com> References: <1454531555-32022-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 08/20] i8257: add missing const List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jsnow@redhat.com, =?UTF-8?q?Herv=C3=A9=20Poussineau?= From: Herv=C3=A9 Poussineau Signed-off-by: Herv=C3=A9 Poussineau Message-id: 1453843944-26833-8-git-send-email-hpoussin@reactos.org Signed-off-by: John Snow --- hw/dma/i8257.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c index e577ed4..0e5ebc1 100644 --- a/hw/dma/i8257.c +++ b/hw/dma/i8257.c @@ -87,7 +87,7 @@ enum { =20 static void i8257_dma_run(void *opaque); =20 -static int channels[8] =3D {-1, 2, 3, 1, -1, -1, -1, 0}; +static const int channels[8] =3D {-1, 2, 3, 1, -1, -1, -1, 0}; =20 static void i8257_write_page(void *opaque, uint32_t nport, uint32_t data= ) { --=20 2.4.3