From nobody Mon Nov 25 10:06:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1718715678; cv=none; d=zohomail.com; s=zohoarc; b=ldTnJL4g2+ga8Wzn9cuzChvIEJBsIrLosktiwHM2jYp4XvCpt7uFFFSF9IGKWomL5NkiqCdG4fE+giiIPSVVB9lS2PhLpglO+LM7HtTyCT4keZojReULThS9l2drPWMkEJkZMw4IsUhbNNQoytFGMC7X1ccyhWk2CmfRlvSzF50= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1718715678; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LygUhwAafTLJDGyqQwpjFQew1zv8q0DsIF8+8q2BsUI=; b=mGtdSZsQKUM4tSnekNSRsSM0q3OJndyjco9ypxlyUMR+/588xyV7LDDng1o6CtbaIhgWgxyoetRTNegL+HKPVrwKyQ37S6R+GU03A6tzeZisqcWXMoF1XiDZnE9NsljqyCdhlbGHNGu7dZTBbwmJrFe9a+vCwhtL9u4eeZvwPo8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1718715678569101.01605475104611; Tue, 18 Jun 2024 06:01:18 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.743057.1149937 (Exim 4.92) (envelope-from ) id 1sJYSG-0005ks-D1; Tue, 18 Jun 2024 13:00:56 +0000 Received: by outflank-mailman (output) from mailman id 743057.1149937; Tue, 18 Jun 2024 13:00:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sJYSG-0005kl-9c; Tue, 18 Jun 2024 13:00:56 +0000 Received: by outflank-mailman (input) for mailman id 743057; Tue, 18 Jun 2024 13:00:54 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sJYSE-0005kf-PT for xen-devel@lists.xenproject.org; Tue, 18 Jun 2024 13:00:54 +0000 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [2a00:1450:4864:20::533]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id cb00a2fd-2d72-11ef-b4bb-af5377834399; Tue, 18 Jun 2024 15:00:52 +0200 (CEST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00b97so4308117a12.0 for ; Tue, 18 Jun 2024 06:00:52 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([160.101.139.1]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb72e9dd7sm7676040a12.57.2024.06.18.06.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 06:00:51 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: cb00a2fd-2d72-11ef-b4bb-af5377834399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1718715652; x=1719320452; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LygUhwAafTLJDGyqQwpjFQew1zv8q0DsIF8+8q2BsUI=; b=gVYdeyipkZeCt2nAK25FMnnSttKNRVzLkF1cqLP6016I9K+8K/HTcivVwR/o7p+ZAo v9WfsG8ck1FpuyQik0H5+kTUix6NfTj1CVgaUeZvgsgEkqwttCd5xryyz5olzhydnOZY OH68reV1rBYI7Mz9PPKFpZTACj53kE7+bH8Dw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718715652; x=1719320452; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LygUhwAafTLJDGyqQwpjFQew1zv8q0DsIF8+8q2BsUI=; b=J/Ky4spyz9SoOvhCqG1EWV1lg7Gw3UFHhhtPzAGWPStzMGm9YlmhJHlGBBU+4h5RHU Qcd7T3scR5O2pSvkm8cG9151M2p3hhrB1Daa5i0CA/jfv+xuZAQZ//nK3MpveVlvWHVj NLpaXJKhW6EfiaiiTaF21nnPlvHCmLZcVSBl7qs0S/TqgqK+P3jkMKcS0sgaIbTjZmkL v+KM7Z4fQx8CFC/DhvAWWp8a+WHoXzADwDijDqEKJ3TD15M2NoVZROwATt1BkF8GMrVr 616jU1tn9ag6tRG1meD589MPqNV7qpNnGFMFc6nb6NVtwV3cOClfHoSmHA8+SNmbUJ6Z inmw== X-Gm-Message-State: AOJu0Ywf8PTkW+b1+e9gNx5SfzNdp+rX7WxZVr2Sf703JOA/ZOM2mqKi mAcZcYydJAHGRjHJF9gXw1xbLB4lwJjI7S2xysjfaaP4aFvsft11Wdt6nOH09VMYkyEdy0Lf51Z DjJ4= X-Google-Smtp-Source: AGHT+IGEvmiTw/b4hOdDD0Xg67JH9GVOpj2zIuAqSChp4G0k/ytPJ1q5jrFjsIOpvoeCXfTM6Bw/+g== X-Received: by 2002:a50:c350:0:b0:57d:4b7:a8d8 with SMTP id 4fb4d7f45d1cf-57d04b7b554mr253597a12.25.1718715651641; Tue, 18 Jun 2024 06:00:51 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Bertrand Marquis , Michal Orzel , Oleksii Kurochko , Roberto Bagnara , Nicola Vetrini , "consulting @ bugseng . com" Subject: [PATCH for-4.19] xen/irq: Address MISRA Rule 8.3 violation Date: Tue, 18 Jun 2024 14:00:48 +0100 Message-Id: <20240618130048.1768639-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1718715680879100001 Content-Type: text/plain; charset="utf-8" When centralising irq_ack_none(), different architectures had different nam= es for the parameter of irq_ack_none(). As it's type is struct irq_desc *, it should be named desc. Make this consistent. No functional change. Fixes: 8aeda4a241ab ("arch/irq: Make irq_ack_none() mandatory") Signed-off-by: Andrew Cooper Acked-by: Julien Grall Reviewed-by: Jan Beulich --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Volodymyr Babchuk CC: Bertrand Marquis CC: Michal Orzel CC: Oleksii Kurochko CC: Roberto Bagnara CC: Nicola Vetrini CC: consulting@bugseng.com Request for 4.19. This was an accidental regression in a recent cleanup patch, and the fix is just a rename - its no functional change. --- xen/arch/arm/irq.c | 4 ++-- xen/include/xen/irq.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c index c60502444ccf..6b89f64fd194 100644 --- a/xen/arch/arm/irq.c +++ b/xen/arch/arm/irq.c @@ -31,9 +31,9 @@ struct irq_guest unsigned int virq; }; =20 -void irq_ack_none(struct irq_desc *irq) +void irq_ack_none(struct irq_desc *desc) { - printk("unexpected IRQ trap at irq %02x\n", irq->irq); + printk("unexpected IRQ trap at irq %02x\n", desc->irq); } =20 void irq_end_none(struct irq_desc *irq) diff --git a/xen/include/xen/irq.h b/xen/include/xen/irq.h index adf33547d25f..580ae37e7428 100644 --- a/xen/include/xen/irq.h +++ b/xen/include/xen/irq.h @@ -134,7 +134,7 @@ void cf_check irq_actor_none(struct irq_desc *desc); * irq_ack_none() must be provided by the architecture. * irq_end_none() is optional, and opted into using a define. */ -void cf_check irq_ack_none(struct irq_desc *irq); +void cf_check irq_ack_none(struct irq_desc *desc); =20 /* * Per-cpu interrupted context register state - the inner-most interrupt f= rame base-commit: 8b4243a9b560c89bb259db5a27832c253d4bebc7 --=20 2.39.2