From: Mohsin Bashir Date: Fri, 21 Feb 2025 20:18:13 +0000 (-0800) Subject: eth: fbnic: Update return value in kdoc X-Git-Tag: v6.15-rc1~160^2~229^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26aa7992b456629882b74b2f3916dd2b94a87e7b;p=thirdparty%2Flinux.git eth: fbnic: Update return value in kdoc Fix return value in kdoc for fbnic_netdev_alloc() Signed-off-by: Mohsin Bashir Signed-off-by: Paolo Abeni --- diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c b/drivers/net/ethernet/meta/fbnic/fbnic_netdev.c index cf8feb90b6174..79a01fdd1dd16 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) {