Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp226919imw; Fri, 8 Jul 2022 01:40:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1torkMP8UsEtGZxX8tstuK9xNJ3AvOld2z9c2Yee/co6+b3R2QRxKuVzT3Uou7r8BVx/vIo X-Received: by 2002:a17:903:2409:b0:16b:efc8:1291 with SMTP id e9-20020a170903240900b0016befc81291mr2454610plo.93.1657269635037; Fri, 08 Jul 2022 01:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657269635; cv=none; d=google.com; s=arc-20160816; b=MERnucAigeLGSZUMA7W+pWB8Xa/vAoAYwn7/oPHjnFGAyIBcBetY55A9BzSqElhrvS LWaPq/rXZ5iZQNvb/KrGSocyGId5lbouj7Edb2TWUwjk8DIf5mpxb/WxgX44Ncc8v51m sDkH6Dy2GBwlg07DZQhkadj++wpACOREIZneyy9hJsuB+gBE4aMGl71YRb1J4q3xn9VJ cNL/bikkmWS5oySoBrg0ap4cauLwhDDP09S4d/ZHpfNp55E+Wavs8WXl9BZ7SxQabRRo PIdRw19dc3pV2WnvXNx70iE0UbbzRCZnx2ncWLuIusy3HDXvPC4pWTAO6gIavmud/Cqt V2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=t1LLp/CpNUuDj3Z7ZCQeeQFI5Z4dqwYlu2ZZ7Ud0I7U=; b=luN9+yUhBnwDXiQgszYlyQu39w6E1d4S9q7XQVt+S7IEcOHD52CmJRExP0Bdc06yD2 NL9BGFwEv3YNxlatos/Pt/3OaGC79OUwtxNNaWWfQang7ZA7h0XxT0ApTDo3xtRUsodX /o3RC7YH4wcyqIDIjAhMbyM+k4qEWYxoomaNx4andl0ltajoWN4lRRcwuYbf4IZ38pcz /X9pZKaMGHcnQPVqKo/gxFcG9Jxu1xfAibmAiFqKwToGVtS8zEMqnAAVrVNDleelFBfP HlepMmJbmTvAumqFAOducetNlQYSW8W/FDmb57xJQ2Cm6tQy13xORtWiCJakVrQlU4zN 2Itw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wYdl7O1L; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=GsoXb+NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w18-20020a056a0014d200b0051ba768d329si7016471pfu.240.2022.07.08.01.40.21; Fri, 08 Jul 2022 01:40:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wYdl7O1L; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=GsoXb+NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237402AbiGHHwm (ORCPT + 99 others); Fri, 8 Jul 2022 03:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237091AbiGHHwk (ORCPT ); Fri, 8 Jul 2022 03:52:40 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB3D7E001 for ; Fri, 8 Jul 2022 00:52:39 -0700 (PDT) Date: Fri, 08 Jul 2022 07:52:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657266755; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t1LLp/CpNUuDj3Z7ZCQeeQFI5Z4dqwYlu2ZZ7Ud0I7U=; b=wYdl7O1LrL1K74eCFSGTl7xNKYeArw1Z1Urq4J/fBElul+aR8oyAcus4c9oAmOYwkWjhSV bXj0yZ8TkQow2RKO+5IrWRA8CKF2v48+Pb+MA/cH65S1lgSt5dAyn5INly8HxOi9RxJCtv JjwpLBy8TvLcgm9jDaR+NzWQMZFJfW2OJIKt3DK7e3U03xG3UMW/wUGL59fG6M1csAhTe0 p1IwUJssd1OmKUJDrPacABQnlPguHV0giHP+c/uDVQRmwvfPP5YbMKJMImx0l7eKC/4FKR 57LjzVsvfT242wlsoUfImeb1RGG5cXdV05WuHw3h60nvJvYQe5W6Zs2KzeudMA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657266755; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t1LLp/CpNUuDj3Z7ZCQeeQFI5Z4dqwYlu2ZZ7Ud0I7U=; b=GsoXb+NK0nWraHvZUOQH97xkWpQ0Fm32CmhRQ6JwpHemdylHsUQnVScDPwah2GnGJD2/Uo audwQ+dYIt7NHzCA== From: "irqchip-bot for Samuel Holland" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] PCI: hv: Take a const cpumask in hv_compose_msi_req_get_cpu() Cc: kernel test robot , Samuel Holland , Michael Kelley , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20220708004931.1672-1-samuel@sholland.org> References: <20220708004931.1672-1-samuel@sholland.org> MIME-Version: 1.0 Message-ID: <165726675405.15455.3532014848598500542.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 9167fd5d5549bcea6d4735a270908da2a3475f3a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9167fd5d5549bcea6d4735a270908da2a3475f3a Author: Samuel Holland AuthorDate: Thu, 07 Jul 2022 19:49:31 -05:00 Committer: Marc Zyngier CommitterDate: Fri, 08 Jul 2022 08:44:15 +01:00 PCI: hv: Take a const cpumask in hv_compose_msi_req_get_cpu() The cpumask that is passed to this function ultimately comes from irq_data_get_effective_affinity_mask(), which was recently changed to return a const cpumask pointer. The first level of functions handling the affinity mask were updated, but not this helper function. Fixes: 4d0b8298818b ("genirq: Return a const cpumask from irq_data_get_affinity_mask") Reported-by: kernel test robot Signed-off-by: Samuel Holland Reviewed-by: Michael Kelley Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20220708004931.1672-1-samuel@sholland.org --- drivers/pci/controller/pci-hyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index aebada4..e7c6f66 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -1635,7 +1635,7 @@ static u32 hv_compose_msi_req_v1( * Create MSI w/ dummy vCPU set targeting just one vCPU, overwritten * by subsequent retarget in hv_irq_unmask(). */ -static int hv_compose_msi_req_get_cpu(struct cpumask *affinity) +static int hv_compose_msi_req_get_cpu(const struct cpumask *affinity) { return cpumask_first_and(affinity, cpu_online_mask); }