diff options
author | Mohsin Bashir <mohsin.bashr@gmail.com> | 2025-02-21 12:18:13 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-25 12:56:14 +0100 |
commit | 26aa7992b456629882b74b2f3916dd2b94a87e7b (patch) | |
tree | 39655d2c3cd5e423b38c5c795cc4e950e97cd0fd | |
parent | e4e7c9be21170bf60820d8db2ba9db29c7a7d9ac (diff) |
eth: fbnic: Update return value in kdoc
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>
-rw-r--r-- | drivers/net/ethernet/meta/fbnic/fbnic_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c b/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c index cf8feb90b617..79a01fdd1dd1 100644 --- a/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c +++ b/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c @@ -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) { |