]> www.infradead.org Git - users/hch/misc.git/commit
eth: fbnic: fix typo in compile assert
authorJakub Kicinski <kuba@kernel.org>
Thu, 6 Mar 2025 14:51:49 +0000 (06:51 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Mar 2025 03:37:37 +0000 (19:37 -0800)
commitbfb522f347df2d1fefc43f7b42e361321bc010d9
tree258f8833970190c16c41cc0ec37b27b26afec9fe
parentc1aacad30614dc1f8e7564c1350d4e7de4dd10b5
eth: fbnic: fix typo in compile assert

We should be validating the Rx count on the Rx struct,
not the Tx struct. There is no real change here, rx_stats
and tx_stats are instances of the same struct.

Acked-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250306145150.1757263-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c