]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
eth: fbnic: Update return value in kdoc
authorMohsin Bashir <mohsin.bashr@gmail.com>
Fri, 21 Feb 2025 20:18:13 +0000 (12:18 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Feb 2025 11:56:14 +0000 (12:56 +0100)
Fix return value in kdoc for fbnic_netdev_alloc()

Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c

index cf8feb90b6174b471ff939b066925bb9efccd28a..79a01fdd1dd168258befe49b9e5d2a61bca08756 100644 (file)
@@ -611,7 +611,7 @@ void fbnic_netdev_free(struct fbnic_dev *fbd)
  * Allocate and initialize the netdev and netdev private structure. Bind
  * together the hardware, netdev, and pci data structures.
  *
- *  Return: 0 on success, negative on failure
+ *  Return: Pointer to net_device on success, NULL on failure
  **/
 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd)
 {