firmware: ti_sci: Fix few compiler warnings
PATCH 1/1 firmware: ti_sci: Fix few compiler warnings
Fix below warnings:
CC drivers/firmware/ti_sci.odrivers/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'
--- drivers/firmware/ti_sci.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
drivers/firmware/ti_sci.c +2 -6
@@ -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.
Signature · 1 line
2.25.1
Oops, seems like I missed similar patch,
Quoted 11 lines · Dhruva Gole
Fix below warnings:
CC
drivers/firmware/ti_sci.odrivers/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 forti_sci_cmd_get_boot_status(). Prototype was forti_sci_cmd_proc_get_status()insteaddrivers/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'
Quoted 3 lines
Fixes 1e407f337f40 ("firmware: ti_sci: Add support for processor control")Signed-off-by Dhruva Gole <[email protected]>---
Nishanth already submitted this before I did,
https://lore.kernel.org/all/[email protected]/
Signature · 2 lines
Thanks and Regards, Dhruva Gole