From nobody Tue Feb 10 20:48:52 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1603192129; cv=none; d=zohomail.com; s=zohoarc; b=Kqpe+/x21NqF/IFlegOUAy27CslMfrXjVhIWjJNTosiIGsUW4iPB0kLRP34Leq9U2/SfXUi/XhRQU1vw9Qk49meiOdlXDwmAUtFSIj659UDSNm/Uro9gLDsxKZXxWvKuW2EXOtm+Y5qReEUHfZe5V33CtXq9TZut29dEX8gLhn8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603192129; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KZU0/Eb4+wOY9BAKQXpsBUFGeO5PyoMyzSHgsHWDqOg=; b=iL+xP5xBuVXHpvPWYwcqt6jGKhy4TeCiMq6l7aPIrmZcJ27bTz1AkPN1JAcWhzOZmEZ8AM7ld9ItjUg51PepGNFwWG7yo8sYPLiIZizsZTTpsdkrqz8SgNznLCFiU6J0lLCPVe6nWhLUyvUS9h+vTDIRpRnXfecAhLWbDS4jsTw= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160319212980888.91933389401572; Tue, 20 Oct 2020 04:08:49 -0700 (PDT) Received: from localhost ([::1]:40420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUpVY-0002u5-IP for importer@patchew.org; Tue, 20 Oct 2020 07:08:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUpQt-00060h-37; Tue, 20 Oct 2020 07:03:59 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:38654 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUpQp-0006mv-Se; Tue, 20 Oct 2020 07:03:58 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A6CCB55C9628D24EB3C0; Tue, 20 Oct 2020 19:03:49 +0800 (CST) Received: from huawei.com (10.175.104.175) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 20 Oct 2020 19:03:41 +0800 From: Gan Qixin To: , Subject: [PATCH 04/10] hw/intc/:split some lines containing more than 80 characters Date: Tue, 20 Oct 2020 04:30:17 +0800 Message-ID: <20201019203023.658555-5-ganqixin@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20201019203023.658555-1-ganqixin@huawei.com> References: <20201019203023.658555-1-ganqixin@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.104.175] X-CFilter-Loop: Reflected Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=45.249.212.35; envelope-from=ganqixin@huawei.com; helo=huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/20 07:03:45 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, peter.maydell@linaro.org, zhang.zhanghailiang@huawei.com, mst@redhat.com, f4bug@amsat.org, alistair.francis@wdc.com, Gan Qixin , kuhn.chenqun@huawei.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" By using scripts/checkpatch.pl, it is found that many files in hw/intc/ contain lines with more than 80 characters. Signed-off-by: Gan Qixin --- hw/intc/apic.c | 3 ++- hw/intc/arm_gic.c | 5 +++-- hw/intc/arm_gic_common.c | 3 ++- hw/intc/ioapic.c | 3 ++- hw/intc/xics.c | 3 ++- hw/intc/xics_kvm.c | 3 ++- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/hw/intc/apic.c b/hw/intc/apic.c index b6a05e5439..89c2558f78 100644 --- a/hw/intc/apic.c +++ b/hw/intc/apic.c @@ -426,7 +426,8 @@ static void apic_eoi(APICCommonState *s) if (isrv < 0) return; apic_reset_bit(s->isr, isrv); - if (!(s->spurious_vec & APIC_SV_DIRECTED_IO) && apic_get_bit(s->tmr, i= srv)) { + if (!(s->spurious_vec & APIC_SV_DIRECTED_IO) && + apic_get_bit(s->tmr, isrv)) { ioapic_eoi_broadcast(isrv); } apic_sync_vapic(s, SYNC_FROM_VAPIC | SYNC_TO_VAPIC); diff --git a/hw/intc/arm_gic.c b/hw/intc/arm_gic.c index c60dc6b5e6..7580ef25c1 100644 --- a/hw/intc/arm_gic.c +++ b/hw/intc/arm_gic.c @@ -1976,8 +1976,9 @@ static MemTxResult gic_hyp_write(void *opaque, int cp= u, hwaddr addr, return MEMTX_OK; } =20 -static MemTxResult gic_thiscpu_hyp_read(void *opaque, hwaddr addr, uint64_= t *data, - unsigned size, MemTxAttrs attrs) +static MemTxResult gic_thiscpu_hyp_read(void *opaque, hwaddr addr, + uint64_t *data, unsigned size, + MemTxAttrs attrs) { GICState *s =3D (GICState *)opaque; =20 diff --git a/hw/intc/arm_gic_common.c b/hw/intc/arm_gic_common.c index 7b44d5625b..337ef239be 100644 --- a/hw/intc/arm_gic_common.c +++ b/hw/intc/arm_gic_common.c @@ -87,7 +87,8 @@ static const VMStateDescription vmstate_gic_virt_state = =3D { /* Virtual CPU interfaces */ VMSTATE_UINT32_SUB_ARRAY(cpu_ctlr, GICState, GIC_NCPU, GIC_NCPU), VMSTATE_UINT16_SUB_ARRAY(priority_mask, GICState, GIC_NCPU, GIC_NC= PU), - VMSTATE_UINT16_SUB_ARRAY(running_priority, GICState, GIC_NCPU, GIC= _NCPU), + VMSTATE_UINT16_SUB_ARRAY(running_priority, GICState, GIC_NCPU, + GIC_NCPU), VMSTATE_UINT16_SUB_ARRAY(current_pending, GICState, GIC_NCPU, GIC_= NCPU), VMSTATE_UINT8_SUB_ARRAY(bpr, GICState, GIC_NCPU, GIC_NCPU), VMSTATE_UINT8_SUB_ARRAY(abpr, GICState, GIC_NCPU, GIC_NCPU), diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c index bca71b5934..68d5548fd9 100644 --- a/hw/intc/ioapic.c +++ b/hw/intc/ioapic.c @@ -237,7 +237,8 @@ void ioapic_eoi_broadcast(int vector) entry =3D s->ioredtbl[n]; =20 if ((entry & IOAPIC_VECTOR_MASK) !=3D vector || - ((entry >> IOAPIC_LVT_TRIGGER_MODE_SHIFT) & 1) !=3D IOAPIC= _TRIGGER_LEVEL) { + ((entry >> IOAPIC_LVT_TRIGGER_MODE_SHIFT) & 1) !=3D + IOAPIC_TRIGGER_LEVEL) { continue; } =20 diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 68f9d44feb..c1bee454b5 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -322,7 +322,8 @@ static void icp_realize(DeviceState *dev, Error **errp) break; =20 default: - error_setg(errp, "XICS interrupt controller does not support this = CPU bus model"); + error_setg(errp, "XICS interrupt controller does not support this " + "CPU bus model"); return; } =20 diff --git a/hw/intc/xics_kvm.c b/hw/intc/xics_kvm.c index 68bb1914b9..a8a2327062 100644 --- a/hw/intc/xics_kvm.c +++ b/hw/intc/xics_kvm.c @@ -400,7 +400,8 @@ int xics_kvm_connect(SpaprInterruptController *intc, ui= nt32_t nr_servers, /* Create the KVM XICS device */ rc =3D kvm_create_device(kvm_state, KVM_DEV_TYPE_XICS, false); if (rc < 0) { - error_setg_errno(&local_err, -rc, "Error on KVM_CREATE_DEVICE for = XICS"); + error_setg_errno(&local_err, -rc, + "Error on KVM_CREATE_DEVICE for XICS"); goto fail; } =20 --=20 2.23.0