Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: blackhole_dev: fix build warning for ethh set but not used | Breno Leitao | 2024-02-05 | 1 | -2/+1 |
| | | | | | | | | | | | | | | lib/test_blackhole_dev.c sets a variable that is never read, causing this following building warning: lib/test_blackhole_dev.c:32:17: warning: variable 'ethh' set but not used [-Wunused-but-set-variable] Remove the variable struct ethhdr *ethh, which is unused. Fixes: 509e56b37cc3 ("blackhole_dev: add a selftest") Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | blackhole_dev: add a selftest | Mahesh Bandewar | 2019-07-01 | 1 | -0/+100 |
Since this is not really a device with all capabilities, this test ensures that it has *enough* to make it through the data path without causing unwanted side-effects (read crash!). Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> |