mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
As clang points out, the error message in enetc_setup_xdp_prog()
still does not fit in the buffer and will be truncated:
drivers/net/ethernet/freescale/enetc/enetc.c:2771:3: error: 'snprintf' will always be truncated; specified size is 80, but format string expands to at least 87 [-Werror,-Wformat-truncation]
Replace it with an even shorter message that should fit.
Fixes:
|
||
|---|---|---|
| .. | ||
| enetc.c | ||
| enetc.h | ||
| enetc_cbdr.c | ||
| enetc_ethtool.c | ||
| enetc_hw.h | ||
| enetc_ierb.c | ||
| enetc_ierb.h | ||
| enetc_mdio.c | ||
| enetc_msg.c | ||
| enetc_pci_mdio.c | ||
| enetc_pf.c | ||
| enetc_pf.h | ||
| enetc_ptp.c | ||
| enetc_qos.c | ||
| enetc_vf.c | ||
| Kconfig | ||
| Makefile | ||