Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drivers: net: fbnic: Return the true error in fbnic_alloc_napi_vectors.

The error case in fbnic_alloc_napi_vectors defaulted to returning
ENOMEM. This can mask the true error case, causing confusion.

Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20251124200518.1848029-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Dimitri Daskalakis and committed by
Jakub Kicinski
ab084f0b 7a57b325

+1 -1
+1 -1
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
··· 1808 1808 free_vectors: 1809 1809 fbnic_free_napi_vectors(fbn); 1810 1810 1811 - return -ENOMEM; 1811 + return err; 1812 1812 } 1813 1813 1814 1814 static void fbnic_free_ring_resources(struct device *dev,