Message ID | 20241105224727.53059-13-philmd@linaro.org |
---|---|
State | Accepted |
Commit | c620b4ee92ed3664a3d98e0fbb0b651e19fba5b6 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp239896wru; Tue, 5 Nov 2024 14:49:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXVSKwn0z19k5LbWZX5kn5nJRtMjdfRTrGI5MH38LUm5lHAmuk6NYrGSsX+ByQhA0ia2fitUA==@linaro.org X-Google-Smtp-Source: AGHT+IHikNUiYfu6aXbv6dEztsy8c3RRM7wOgzCzLmDVrjwIZIblUf99VtW/+T+X/JKJ7LhDFZ7M X-Received: by 2002:a05:6122:c91:b0:50d:8613:6830 with SMTP id 71dfb90a1353d-5106b106de8mr21331593e0c.5.1730846983417; Tue, 05 Nov 2024 14:49:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730846983; cv=none; d=google.com; s=arc-20240605; b=dGRB3lfQUWQJfMz3AS4Du3+gj8cnlHNCap1xL4zevfIDaSwgo8hCiblNyBj1EYVQcK k6c6BOlZja5+0fNqJip1u9PdvnK9vGYIlGKjgiDb1X9jDhLWxuix7tXfvj3+7oUx4WKN ePdUN2PrOmby8QRD+gXUCWgRba5d9GvYSqF0gw6911vNglUWG+QO1lmmhA3+cVGdnHlG /5GXCSiPjZZij4+2TCwelPwrLqIL53AXLQDnz9YOcrjcEF7thyIYsNU1VM5zg5QXyLnX miBvrzzq8yGOk3z+wVW+88ZBrzLEe6MUf8pENGBt25v5YGydY7hrqbsYQUIMKF5GIgOG hGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=sb6wknvdalZooi5r58QzzfllNGZIAFmsE3UyhIspyAY=; fh=Tr7NIUtXAhmtWFkJJjP6G2+mN+Bis7DT7Z3/vsFybJ4=; b=RtmdPCAVYEAnx2f2ZiOnmltAf5A4NuTcu5VtbYYj0ZY5LTF3meb9iJEjKwfhfOq6+v 2dn7PuVpbLumc48VNrsm3wu/WOmb8P/1gIe3y2emd9OmInctDEmzQmf/wcwShobEbAO8 UZuJgT92pyighQBtiRaJgCeLZIfi9vFLjpeNgI2z2727aUzaVsKq0Vl1kfq9HMKBabMU bK1OYPSJC3FNDfD3KKgy8BI/OJW5ogxgUGSbzX4XXUQN3F3VJwkgTd3Akrs1VBDq5L5j U6ayRydR5QgwaWimupaRksu9Y2O6YlEeeOjtcDlJw1xpkxIlzKxOUQqhkYVcedYQXdxS 8SLw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lccgXJr+; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d3541ad15esi145075086d6.510.2024.11.05.14.49.43 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Nov 2024 14:49:43 -0800 (PST) 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=lccgXJr+; 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 <qemu-devel-bounces@nongnu.org>) id 1t8SM7-0006fh-OH; Tue, 05 Nov 2024 17:49:01 -0500 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 <philmd@linaro.org>) id 1t8SLk-0006FE-U3 for qemu-devel@nongnu.org; Tue, 05 Nov 2024 17:48:42 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1t8SLi-0004Fn-Op for qemu-devel@nongnu.org; Tue, 05 Nov 2024 17:48:36 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4314b316495so51656505e9.2 for <qemu-devel@nongnu.org>; Tue, 05 Nov 2024 14:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730846913; x=1731451713; 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=sb6wknvdalZooi5r58QzzfllNGZIAFmsE3UyhIspyAY=; b=lccgXJr+bAUMUOtlCs8wd0f+WfabSLSgn34vke0dT85At+PgfRnSaWvJEVTakQnrDG b0UDdPbvGbaaXTMIxJ9eTzPR2EHSly4V0elihCcqy8LMQPj52NHI3I4utsFyMcrWiF/J nZ0IZaSZvTLzEcvBPudbb78F2TpSZA/Ib9exkHi6nNQT8B0GeObmoMSCEc/lX5Ys/t6Q eNf1Fjb885HLuDMFjw1QGFLul1t++Z96dfC1ycX9DJdmOJoV5JANR/pfq6oD62P+2Xxc WkmaBfm1pym6/+WifDpp0O1x3tyI7SDBJ9T3/ujIqGn2H38n+BG3yTuFTp7wisRQveh4 hCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730846913; x=1731451713; 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=sb6wknvdalZooi5r58QzzfllNGZIAFmsE3UyhIspyAY=; b=e7Z1eob5GufxGb6Gs/MZO9cNOt4GwFXlpq0ohiWUOkA5ciTkuR+7yB6PPWT5W18swY slyJ7VvdzdK8CL7utCqdAJ8xG/G6AEQPCC8QxG35TfIUxSNSf2tehUWCOY0IrCYesev/ ghScWt+I1XJRRh2Q7MqCoaOoUGGQWQ/jIaJ+laaPgRPNr4IIJO2r+gA89ROmlAlHofD6 AwXMlKcXhdQlJBaO8WHIVbK0MvbMjoIBgCPlGA+oHzsZgsoWu0J2RVfNlZaX5oJjcENf q1nvrIaLI1qKiGgwCYle3yu6U3IcHuxVIW21BJVJCSInuPBdcnga42cE7E2AkzNc0EaU JA/A== X-Gm-Message-State: AOJu0Yz8vJ0dM9IUY8LxrV/fsQrwimSv5wgjrKgbWzpfLNZithZkIH/b gOH+Pia190JrxFnHck9HtNoQ9njzqGSN60js32Frn5xXoGmXOtp0iJ9PJ+/awWOOMdZSC3lxVAP NzsIHZA== X-Received: by 2002:a05:600c:3507:b0:431:4e3f:9dee with SMTP id 5b1f17b1804b1-4327b6f46d3mr180920095e9.4.1730846913090; Tue, 05 Nov 2024 14:48:33 -0800 (PST) Received: from localhost.localdomain ([89.101.134.25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa6ae5dasm1089445e9.4.2024.11.05.14.48.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 05 Nov 2024 14:48:32 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Bernhard Beschow <shentey@gmail.com>, BALATON Zoltan <balaton@eik.bme.hu>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 12/29] hw/ppc/e500: Prefer QOM cast Date: Tue, 5 Nov 2024 22:47:10 +0000 Message-ID: <20241105224727.53059-13-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241105224727.53059-1-philmd@linaro.org> References: <20241105224727.53059-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> 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 |
Series |
[PULL,01/29] target/microblaze: Rename CPU endianness property as 'little-endian'
|
expand
|
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index 6433348072c..060db36dbcb 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -1021,7 +1021,7 @@ void ppce500_init(MachineState *machine) sysbus_connect_irq(s, 0, qdev_get_gpio_in(mpicdev, MPC8544_I2C_IRQ)); memory_region_add_subregion(ccsr_addr_space, MPC8544_I2C_REGS_OFFSET, sysbus_mmio_get_region(s, 0)); - i2c = (I2CBus *)qdev_get_child_bus(dev, "i2c"); + i2c = I2C_BUS(qdev_get_child_bus(dev, "i2c")); i2c_slave_create_simple(i2c, "ds1338", RTC_REGS_OFFSET); /* eSDHC */ @@ -1070,7 +1070,7 @@ void ppce500_init(MachineState *machine) memory_region_add_subregion(ccsr_addr_space, MPC8544_PCI_REGS_OFFSET, sysbus_mmio_get_region(s, 0)); - pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci.0"); + pci_bus = PCI_BUS(qdev_get_child_bus(dev, "pci.0")); if (!pci_bus) printf("couldn't create PCI controller!\n");