From nobody Tue Nov 26 18:30:10 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1705664643; cv=none; d=zohomail.com; s=zohoarc; b=D3LDez/Q9Ex9bEhDGZrXLiTmhRNnIKUq1dCQCqoEXOAKX9hX8O65JrTvJVOh0OumkOp4JNzlvB9b4PnqVCvKwpV62NOzk2f6xzwYZiRb94t3IlwhbdGXnwPsiyCuerk2Os4gHTf6Au8s65t1OC2aIfsS8dr35/wSssEvMXB+w4E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705664643; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=A62n8Zh8RpmMErwo1MEyf8UlsAdx9GAivnN08aL/XMQ=; b=aAsdJIKz2GxyI6sjeNn3MLWIEUe5BoUeBvMgKxHMv4DHHebVhajUekcgrgcYn5TKNYKwPpRS4ng9ijJbqUP8t2mNSYCWb3sXaqILESEL0eFLql7UO+q+S2Hj5nFjKi9sWTgo6dY+Eymru1KsgXlZ1YoOj3yb6BpBmY8jUg8lwz0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705664643710730.0526870542491; Fri, 19 Jan 2024 03:44:03 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQnBW-0005St-Lw; Fri, 19 Jan 2024 06:37:18 -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 ) id 1rQnBN-00055G-Qk for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:37:11 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQnBL-0002wm-9q for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:37:09 -0500 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-337d99f9cdfso466033f8f.0 for ; Fri, 19 Jan 2024 03:37:06 -0800 (PST) Received: from localhost.localdomain (91-163-26-170.subs.proxad.net. [91.163.26.170]) by smtp.gmail.com with ESMTPSA id x16-20020adfdd90000000b00337d6539d52sm2974212wrl.18.2024.01.19.03.37.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 19 Jan 2024 03:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705664225; x=1706269025; 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=A62n8Zh8RpmMErwo1MEyf8UlsAdx9GAivnN08aL/XMQ=; b=eiUOTzRxxJhCL0AtVbS+3pkyib0S8oN3qJuJU9cAOpzky0vokNRM4MF4JkghJ5CM+1 sOWQMBjr1jHAOtOG9yP4K/T6NIfIukxVieXTtusZG3svU2YvafRSzayMxqcyKMvSD4SK FxALO+Dn8OFGlAXmAK5DvIlPewQWT0y7auz1qCJB20L6Kolqz0tiV6nemk3SuVJxdMLm OjRR7MaGcrjC/Dp1ys/FdiVbc1SMudzuRwUu9ZEpKTUmIgM3EcfSKJMxYuZofsPHM26l SbmnzrWV7i0a8oEauHLmUp7e3ODHmVecmWEufNQpkcHZVUdYzKjPuNym7oItk8GRua5W uINw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664225; x=1706269025; 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=A62n8Zh8RpmMErwo1MEyf8UlsAdx9GAivnN08aL/XMQ=; b=Fbjd9ejGvOAUt0nDM5igg1ljmWr0tdpW93J6Dmh885rTzsaU06EqNcdrYoa2sOFh0j IaSmwGGSQxw3rGQXXBeGQjpKA+tMQ741LmPH41R3bclkE8FWriOOIuFTyI1MqICDEwby ADWbgVqFjNtXIMJgS6JwDsua4mu8iEAJWW/P1MWRrCOeB6CLiRT8aYHXSZOA9RKtCCND wdSQrmd2QkodVlC3LyGXjep5iRwGBcwNIdM31TpY0HlyCfIE9eJMqjHX4c+phkcfJ8Ej Cw9PNtHEu0EUTVlW5VWGTWqwt16EIgL/0heY7YRHpVP8puDMp/m82bWVTSumEAVYbq/m 0hTw== X-Gm-Message-State: AOJu0YwnsQHrySmejIi0pNEK2xZQHIXFyPKJyh0snlfubHGK8e83HVVD 24kg8upc+bkGbZIh52i6uKsRpOgbzANMFSfljSM7d/MFhp7up0AyloWVAAN/ZVNQD0htIsYYPvA mniq8iQ== X-Google-Smtp-Source: AGHT+IEYJKMhZoipY90su9FxNi+mxyI+XCMb0EVZ4VpukD7X/ShNOYCPR7zYhNczZ6ezJ9j3Ldk5TQ== X-Received: by 2002:adf:e610:0:b0:337:aeee:4bae with SMTP id p16-20020adfe610000000b00337aeee4baemr1442716wrm.47.1705664225789; Fri, 19 Jan 2024 03:37:05 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Eric Farman , Halil Pasic , Christian Borntraeger , Richard Henderson , David Hildenbrand , Ilya Leoshkevich Subject: [PULL 26/36] hw/s390x: Rename cpu_class_init() to include 'sclp' Date: Fri, 19 Jan 2024 12:34:55 +0100 Message-ID: <20240119113507.31951-27-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240119113507.31951-1-philmd@linaro.org> References: <20240119113507.31951-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1705664644912100001 cpu_class_init() is specific to s390x SCLP, so rename it as sclp_cpu_class_init() (as other names in this file) to ease navigating the code. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth Reviewed-by: Eric Farman Message-ID: <20240111120221.35072-4-philmd@linaro.org> --- hw/s390x/sclpcpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/s390x/sclpcpu.c b/hw/s390x/sclpcpu.c index f2b1a4b037..fa79891f5a 100644 --- a/hw/s390x/sclpcpu.c +++ b/hw/s390x/sclpcpu.c @@ -73,7 +73,7 @@ static int read_event_data(SCLPEvent *event, EventBufferH= eader *evt_buf_hdr, return 1; } =20 -static void cpu_class_init(ObjectClass *oc, void *data) +static void sclp_cpu_class_init(ObjectClass *oc, void *data) { SCLPEventClass *k =3D SCLP_EVENT_CLASS(oc); DeviceClass *dc =3D DEVICE_CLASS(oc); @@ -94,7 +94,7 @@ static const TypeInfo sclp_cpu_info =3D { .name =3D TYPE_SCLP_CPU_HOTPLUG, .parent =3D TYPE_SCLP_EVENT, .instance_size =3D sizeof(SCLPEvent), - .class_init =3D cpu_class_init, + .class_init =3D sclp_cpu_class_init, .class_size =3D sizeof(SCLPEventClass), }; =20 --=20 2.41.0