From nobody Sun Feb 8 05:29:46 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E26CEB64D7 for ; Wed, 21 Jun 2023 08:23:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231293AbjFUIXq (ORCPT ); Wed, 21 Jun 2023 04:23:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjFUIXl (ORCPT ); Wed, 21 Jun 2023 04:23:41 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69B11BC for ; Wed, 21 Jun 2023 01:23:40 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35L8NVVS017505; Wed, 21 Jun 2023 03:23:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687335811; bh=7qJOY+Amzwz8yZfUfEoE6qN1GmbOBZaC7WF4l2NdgGg=; h=From:To:CC:Subject:Date; b=V3dsNnMmemStoa0D4314MyMZ0/QO8lmYi1WR/BMmCwIrWmD+kiH59aGFefEj6JHhC eFtW4VoLp4xg3TINHg5IVLSS41Q2TPSb8CRfCUlyEoG4VOG5FIAncLIk+h8wVHXJK1 DkVx+fFojgG/lqD6hlHLm/b3y/ldz1mAth7lvgvU= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35L8NVpa042154 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 21 Jun 2023 03:23:31 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 21 Jun 2023 03:23:30 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 21 Jun 2023 03:23:30 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35L8NTIq069520; Wed, 21 Jun 2023 03:23:30 -0500 From: Dhruva Gole To: Nishanth Menon CC: Praneeth , Vignesh , Dhruva Gole , Tero Kristo , Santosh Shilimkar , , Subject: [PATCH] firmware: ti_sci: Fix few compiler warnings Date: Wed, 21 Jun 2023 13:53:09 +0530 Message-ID: <20230621082309.1569239-1-d-gole@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fix below warnings: CC drivers/firmware/ti_sci.o drivers/firmware/ti_sci.c:1988: warning: Excess function parameter 'vint_ir= q' description in 'ti_sci_cmd_set_irq' drivers/firmware/ti_sci.c:2036: warning: Excess function parameter 'vint_ir= q' description in 'ti_sci_cmd_free_irq' drivers/firmware/ti_sci.c:2632: warning: Function parameter or member ... drivers/firmware/ti_sci.c:2748: warning: expecting prototype for ti_sci_cmd= _get_boot_status(). Prototype was for ti_sci_cmd_proc_get_status() instead drivers/firmware/ti_sci.c:3267: warning: Function parameter or member 'sub_= type' not described in 'devm_ti_sci_get_resource' drivers/firmware/ti_sci.c:3267: warning: Excess function parameter 'suub_ty= pe' description in 'devm_ti_sci_get_resource' Fixes: 1e407f337f40 ("firmware: ti_sci: Add support for processor control") Signed-off-by: Dhruva Gole --- drivers/firmware/ti_sci.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 039d92a595ec..eca947bb35b9 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -1978,8 +1978,6 @@ static int ti_sci_free_irq(const struct ti_sci_handle= *handle, u32 valid_params, * @src_index: IRQ source index within the source device * @dst_id: Device ID of the IRQ destination * @dst_host_irq: IRQ number of the destination device - * @vint_irq: Boolean specifying if this interrupt belongs to - * Interrupt Aggregator. * * Return: 0 if all went fine, else return appropriate error. */ @@ -2026,8 +2024,6 @@ static int ti_sci_cmd_set_event_map(const struct ti_s= ci_handle *handle, * @src_index: IRQ source index within the source device * @dst_id: Device ID of the IRQ destination * @dst_host_irq: IRQ number of the destination device - * @vint_irq: Boolean specifying if this interrupt belongs to - * Interrupt Aggregator. * * Return: 0 if all went fine, else return appropriate error. */ @@ -2736,7 +2732,7 @@ static int ti_sci_cmd_proc_set_control(const struct t= i_sci_handle *handle, } =20 /** - * ti_sci_cmd_get_boot_status() - Command to get the processor boot status + * ti_sci_cmd_proc_get_status() - Command to get the processor boot status * @handle: Pointer to TI SCI handle * @proc_id: Processor ID this request is for * @@ -3256,7 +3252,7 @@ EXPORT_SYMBOL_GPL(devm_ti_sci_get_of_resource); * @handle: TISCI handle * @dev: Device pointer to which the resource is assigned * @dev_id: TISCI device id to which the resource is assigned - * @suub_type: TISCI resource subytpe representing the resource. + * @sub_type: TISCI resource subytpe representing the resource. * * Return: Pointer to ti_sci_resource if all went well else appropriate * error pointer. --=20 2.25.1