Skip to content

Commit 30ff01e

Browse files
brettcreeleykuba-moo
authored andcommitted
pds_core: Fix documentation for pds_client_register
The documentation above pds_client_register states that it returns 0 on success and negative on error. However, it actually returns a positive client ID on success and negative on error. Fix the documentation to state exactly that. Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Shannon Nelson <[email protected]> Reviewed-by: Jesse Brandeburg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent f85b1c7 commit 30ff01e

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/amd/pds_core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amd/pds_core/auxbus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @pf_pdev: ptr to the PF driver struct
1212
* @devname: name that includes service into, e.g. pds_core.vDPA
1313
*
14-
* Return: 0 on success, or
14+
* Return: positive client ID (ci) on success, or
1515
* negative for error
1616
*/
1717
int pds_client_register(struct pci_dev *pf_pdev, char *devname)

0 commit comments

Comments
 (0)