From patchwork Tue Aug 13 16:52:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 818837 Delivered-To: patch@linaro.org Received: by 2002:adf:cd01:0:b0:367:895a:4699 with SMTP id w1csp358189wrm; Tue, 13 Aug 2024 09:54:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXhZOuFfraichkTZ22mbEnLLDqOh+wmCnvK93M21Pgnp6N9/u9vC0pk0RE4bqPV3piAQjjqcQ==@linaro.org X-Google-Smtp-Source: AGHT+IGYsY2Ztq/nbCWWwoVY/k5PxWFIwHNLI1+Sr3E5b54Cw5FoHpKe23vwyTuXc3Tz89ywufR8 X-Received: by 2002:a05:6830:719f:b0:703:5cde:3a1f with SMTP id 46e09a7af769-70c9d9118bbmr206021a34.1.1723568083433; Tue, 13 Aug 2024 09:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723568083; cv=none; d=google.com; s=arc-20160816; b=sCeMudZlkV3k10N78V/Fv4wRRrVDeCS2G+H8BIJv0HgKGjdBmPqnb5kBxes/yZTNUq QCtWFfVE42oyHZ+tjyCLAorTi5xZmTBECAYTZrh/ZKGXHrFBqPiJJ4rKAR27WXoHZWZT 9YUJBwe3K9rsTNEjcy2wvs06kXWNHdZlsVKXzvJhdaofgowuyA+XIb2daQ+6/EpcJO5l ZUfIjCmy6HRmlsCBpyzgV4opdfPnJ8RIbNrr8zK7E48O/gmk4tI5/rMNZH5FffImrp+k PphCzilh+FjeQrJyzPdMrFqDaXt1Tjri0ABQwgDbdwkAeArpHROZh0ApnJEuSjt4ZplQ IMlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Lbre056sEPIRICp8dPk/YvoBv3UqLB0jF2TdtHhkVeA=; fh=PDIsXZw44mkelYbulZxc+mNRoIrKCS+0dYZTfUcAsFs=; b=N/VJX5htLHmK3D+HYAhKDqz1E+jOWxcbn91F9JBuJhnWh2WSY97RvA49WeEMNhc9Se QW75uLfUNkXJ0l2CMf7G1fRj4KWQD7+xkltHdZEod8XhjUoDQDCUbrynBEpDVmYwWfaH /Sa9tuM6y+IIQ0jwB6ygHtaVi8Fyqq3y7m3KcWhxxIOPnyN2sgeGy05BNel2GS+KcNSb JgaoziJIRcFj4GB6DEOR/34WRvudI8JMPC+5+yzKnlwDk3cCHMFb+YBLxcjUstmd9jpm GY82xE+JlEJHuyHtTmBKgillyCzsLOdTgLkgx6mh8VN6hns9vlmeRGKtkmTsFj+/C2Nf CQYw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X3PYe7WZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4531c1ae73esi85578111cf.144.2024.08.13.09.54.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Aug 2024 09:54:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X3PYe7WZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdulb-0004zR-Tj; Tue, 13 Aug 2024 12:53:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdula-0004sh-7b for qemu-devel@nongnu.org; Tue, 13 Aug 2024 12:53:02 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdulW-0001BY-JQ for qemu-devel@nongnu.org; Tue, 13 Aug 2024 12:53:00 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-36bb2047bf4so3736062f8f.2 for ; Tue, 13 Aug 2024 09:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723567976; x=1724172776; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Lbre056sEPIRICp8dPk/YvoBv3UqLB0jF2TdtHhkVeA=; b=X3PYe7WZxZE70Pcu6AqNFo4Tkq3KbVAg4etg4rYJA7bctQqcz5wr6WpXmRMAn1BWQ0 cpRYe+Pk0g3eayDT13VdmCy8XAdR3UCllvBmibkummyv/TxtxtUeabr2xbnyTmuctWyc H4PpII/7RQjhp51tdA8UtSp9kWIECXafRnhwYxaqy3wxUPJU2LVpukbaokeOGKX3lKkm mcROF8cDv5BqSkTk9W5FMx34DFpFx6wLcOpT3IJDG4wER7zo3RwR7S5Ra/z4Lq7Z3IuH X7mq+cpAPRItQ/P/Ydk6+t699OleWeewurVfyHILm2/Z0Jkwl1mhkN+WULq2kYesoANC nb0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723567976; x=1724172776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lbre056sEPIRICp8dPk/YvoBv3UqLB0jF2TdtHhkVeA=; b=px/ccmYXHiGxPWB/RJrqzl2S0DF6HaV6Ol+teets9NOyGBM1LsKUHzwtYiqXBSSjzi pVlpG43cbWYq0vSVOyYYZIw9AMI0ruiiyuH2g95ISJG5pB/o5HHwkdDg6vq5ScaVOHSP DRut6Q2/6ueiUMCi/7vhzo00nzy0BHB+enSd9HPmTy8ibmNtchmyz7T+1VKf1WPhL1/x 7GVudtDDDunfedAsfZRhahF9H8SmTb9bUs3DvSMTU9dNZekKZKsxPO83SEalXxc/rEsS cMwX1gwJnGHHSphL+/RkdDtPEAatuUI1aYfgKXKOjk6+nF+lKb9+c4H9nXTz7e94f8g9 /GhA== X-Gm-Message-State: AOJu0YyMKN9hSn/69LF07aPHekeKKfMl+yTqef+URbtsfL+XWszPWyvc /opsRokQaomPvKhb/OxxVbO5FKASxlwIQcuBU5sVBTehUVkt5+7Ow5wxixjuubml3SSY28ZTxq4 1 X-Received: by 2002:a05:6000:1549:b0:368:4def:921f with SMTP id ffacd0b85a97d-37177768ac8mr138305f8f.11.1723567975938; Tue, 13 Aug 2024 09:52:55 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429c77374a5sm147347015e9.30.2024.08.13.09.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 09:52:55 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-s390x@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , David Hildenbrand , Ilya Leoshkevich , Cornelia Huck , Halil Pasic , Eric Farman , Christian Borntraeger Subject: [PATCH for-9.2 05/10] hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma Date: Tue, 13 Aug 2024 17:52:45 +0100 Message-Id: <20240813165250.2717650-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240813165250.2717650-1-peter.maydell@linaro.org> References: <20240813165250.2717650-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org In axidma_class_init() we accidentally used a comma at the end of a statement rather than a semicolon. This has no ill effects, but it's obviously not intended and it means that Coccinelle scripts for instance will fail to match on the two statements. Use a semicolon instead. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- hw/dma/xilinx_axidma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index c9cfc3169b8..7707634253a 100644 --- a/hw/dma/xilinx_axidma.c +++ b/hw/dma/xilinx_axidma.c @@ -626,7 +626,7 @@ static void axidma_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - dc->realize = xilinx_axidma_realize, + dc->realize = xilinx_axidma_realize; dc->reset = xilinx_axidma_reset; device_class_set_props(dc, axidma_properties); }