]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI: dwc: ep: Fix errno typo
authorNiklas Cassel <cassel@kernel.org>
Tue, 6 May 2025 09:51:39 +0000 (11:51 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Tue, 20 May 2025 15:13:35 +0000 (15:13 +0000)
Fix errno typo in kernel-doc comments.

Fixes: 7cbebc86c72a ("PCI: dwc: ep: Add Kernel-doc comments for APIs")
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250506095138.482485-2-cassel@kernel.org
drivers/pci/controller/dwc/pcie-designware-ep.c

index f3daf46b5e6359bb0d92dae90eb55bd1a344b11b..845862f1a1cb149db6e582af1cf6f274406c5ab7 100644 (file)
@@ -671,7 +671,7 @@ static const struct pci_epc_ops epc_ops = {
  * @ep: DWC EP device
  * @func_no: Function number of the endpoint
  *
- * Return: 0 if success, errono otherwise.
+ * Return: 0 if success, errno otherwise.
  */
 int dw_pcie_ep_raise_intx_irq(struct dw_pcie_ep *ep, u8 func_no)
 {
@@ -690,7 +690,7 @@ EXPORT_SYMBOL_GPL(dw_pcie_ep_raise_intx_irq);
  * @func_no: Function number of the endpoint
  * @interrupt_num: Interrupt number to be raised
  *
- * Return: 0 if success, errono otherwise.
+ * Return: 0 if success, errno otherwise.
  */
 int dw_pcie_ep_raise_msi_irq(struct dw_pcie_ep *ep, u8 func_no,
                             u8 interrupt_num)