Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9027842rwd; Wed, 21 Jun 2023 01:55:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fWQ8/1xHivt6uhtBYOZJVT89w3jWTaHfsKgQx2m274INcgzqsuDnjsTlvW8++ZolFmtxj X-Received: by 2002:a05:6a00:1390:b0:666:e954:8abc with SMTP id t16-20020a056a00139000b00666e9548abcmr20206699pfg.2.1687337729055; Wed, 21 Jun 2023 01:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687337729; cv=none; d=google.com; s=arc-20160816; b=gqUazDzXoVCkcmZQVVNWtqQvwOTdczFn+Oh5lQ08OhT/jaeY54M6ImlYwLV1d6u5Tm qFc8s46Rvt+Z0I76pW7VlEDxMErnTgt8nRaO0ZEGGAXrReGfM0BK3iWDVLYHnzdwikpf GvOeKpDCMWbrvPSuiQ791wwletqK6xOEhGTirT/oV32FjIr6wrWz3dl7hFt4JCBVYwhz 0Sc2wQ0MwAdTZwXkKQLlQSGGAX20m3qcmyIwMRXc8fdXcM1aVx+3NSLyoNkLROVp3sBd HjupiGhf+pJ/OkLeUG5IloOdl6Bxgl4mCN97ihXawcDDYBrRGdp1lAkUIAQT+Fi081tD OqJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7qJOY+Amzwz8yZfUfEoE6qN1GmbOBZaC7WF4l2NdgGg=; b=B9c10pqkV4u2u9x8PLlYazxQuKBm3ft8qjrK5XXnzhIhmXMRR+4TFZZ7135VE9YOuQ FpK4p5fcxOav5pZvu3VpnifJhNXhuM3HEW/qRUykURzP5xsrsiUChYC184ezekeq5+A+ ve4a7jZJF7KpBRZuQ7okPB0coC4XdhEoJQtbRxEUI9flC0ujS9RkkriXFqGx4Vo4Q0r0 XXHkvIKsAmMCrb+v783tsrhI0keTUTHoPZkEyzGtHH83Fpdtfy30mcoWr9YVYL49++P/ i1xzt+o9Ut2rAVFeQ9S3L0SpHkDED1xTfXCX+yaaXRFrnnOJdL5cdYoG042cDMBy6R31 GaTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V3dsNnMm; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020aa79486000000b0066675b3f21esi3563564pfk.36.2023.06.21.01.55.14; Wed, 21 Jun 2023 01:55:29 -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=@ti.com header.s=ti-com-17Q1 header.b=V3dsNnMm; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbjFUIXo (ORCPT + 99 others); Wed, 21 Jun 2023 04:23:44 -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: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fix below warnings: CC drivers/firmware/ti_sci.o drivers/firmware/ti_sci.c:1988: warning: Excess function parameter 'vint_irq' description in 'ti_sci_cmd_set_irq' drivers/firmware/ti_sci.c:2036: warning: Excess function parameter 'vint_irq' 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_type' 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_sci_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 ti_sci_handle *handle, } /** - * 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. -- 2.25.1