Message ID | 1432877231-5136-14-git-send-email-zhaoshenglong@huawei.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDPILVOKSELBB2HVT6VQKGQE5HPVWSY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A79CF22B3A for <linaro@patches.linaro.org>; Fri, 29 May 2015 05:36:41 +0000 (UTC) Received: by lagv1 with SMTP id v1sf16771053lag.1 for <linaro@patches.linaro.org>; Thu, 28 May 2015 22:36:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:content-type:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=BTb+YdL25UdqkwbJlm6wmR4pwL5EL0G/MwhY9/JJlAE=; b=m6qwqILOqv69Kph903x+ORwbTtgU4NW27Q7wCTV1yZjkBYbvs+VxowZOXnLiza4aCR AgoZ2v2uVaEmlbBJykD2dmbIDThMwV4XeekI7CLS7bH6isUmkfACjfDoDbtc3h+u31WU MPTr9Byfv0mpMILUjaI5y4ajsKA13KP2L2kcc+jTVqWmJLKYufZ6a63LyHOg/YH/wBUp Sv2zLdBzKgymdTSawmaO0dy58CVYpzuGEJ2V6STrOZB9zR1Tdn0MQny4Ji24gs0pEKvg 0LFZWj8qrorQWpVQj23uQlcaLyS3gRGLpf+4NRf9HAnCAXBcmmFRU86VhDvlm2KSzAGu 5NnQ== X-Gm-Message-State: ALoCoQmHev1RYR90AzswgWMC3/v5NvEm1DWkcuVH+4ZHK9an2LpBr1SBARUhXzpki1FWhuoMq7pb X-Received: by 10.180.84.67 with SMTP id w3mr1382170wiy.7.1432877800680; Thu, 28 May 2015 22:36:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.163.37 with SMTP id yf5ls192468lab.17.gmail; Thu, 28 May 2015 22:36:40 -0700 (PDT) X-Received: by 10.153.7.66 with SMTP id da2mr6222217lad.94.1432877800554; Thu, 28 May 2015 22:36:40 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id cn6si3776658lbb.126.2015.05.28.22.36.40 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 May 2015 22:36:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbcue7 with SMTP id ue7so41781122lbc.0 for <patchwork-forward@linaro.org>; Thu, 28 May 2015 22:36:40 -0700 (PDT) X-Received: by 10.112.222.133 with SMTP id qm5mr6292147lbc.86.1432877800287; Thu, 28 May 2015 22:36:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp36009lbb; Thu, 28 May 2015 22:36:39 -0700 (PDT) X-Received: by 10.140.81.39 with SMTP id e36mr7645140qgd.10.1432877799120; Thu, 28 May 2015 22:36:39 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d6si4638396qhc.128.2015.05.28.22.36.38 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 28 May 2015 22:36:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:33612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1YyCyE-0003pQ-5X for patch@linaro.org; Fri, 29 May 2015 01:36:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <zhaoshenglong@huawei.com>) id 1YyCqH-0006az-Kl for qemu-devel@nongnu.org; Fri, 29 May 2015 01:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <zhaoshenglong@huawei.com>) id 1YyCqG-0005Iv-QV for qemu-devel@nongnu.org; Fri, 29 May 2015 01:28:25 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:5373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <zhaoshenglong@huawei.com>) id 1YyCqG-0005IV-8j; Fri, 29 May 2015 01:28:24 -0400 Received: from 172.24.2.119 (EHLO SZXEML429-HUB.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CMB71967; Fri, 29 May 2015 13:28:16 +0800 (CST) Received: from HGHY1Z002260041.china.huawei.com (10.177.16.142) by SZXEML429-HUB.china.huawei.com (10.82.67.184) with Microsoft SMTP Server id 14.3.158.1; Fri, 29 May 2015 13:28:07 +0800 From: Shannon Zhao <zhaoshenglong@huawei.com> To: <qemu-devel@nongnu.org> Date: Fri, 29 May 2015 13:27:11 +0800 Message-ID: <1432877231-5136-14-git-send-email-zhaoshenglong@huawei.com> X-Mailer: git-send-email 1.9.0.msysgit.0 In-Reply-To: <1432877231-5136-1-git-send-email-zhaoshenglong@huawei.com> References: <1432877231-5136-1-git-send-email-zhaoshenglong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 119.145.14.65 Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com, mjt@tls.msk.ru, shannon.zhao@linaro.org, peter.maydell@linaro.org Subject: [Qemu-devel] [PATCH v2 13/13] hw/display/tc6393xb.c: Fix misusing qemu_allocate_irqs for single irq X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/hw/display/tc6393xb.c b/hw/display/tc6393xb.c index 66b7ade..f5f3f3e 100644 --- a/hw/display/tc6393xb.c +++ b/hw/display/tc6393xb.c @@ -571,7 +571,7 @@ TC6393xbState *tc6393xb_init(MemoryRegion *sysmem, uint32_t base, qemu_irq irq) s->irq = irq; s->gpio_in = qemu_allocate_irqs(tc6393xb_gpio_set, s, TC6393XB_GPIOS); - s->l3v = *qemu_allocate_irqs(tc6393xb_l3v, s, 1); + s->l3v = qemu_allocate_irq(tc6393xb_l3v, s, 0); s->blanked = 1; s->sub_irqs = qemu_allocate_irqs(tc6393xb_sub_irq, s, TC6393XB_NR_IRQS);