linux/drivers/net/ethernet/freescale/enetc
Arnd Bergmann 9046d581ed enetc: avoid truncating error message
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: f968c56417 ("net: enetc: shorten enetc_setup_xdp_prog() error message to fit NETLINK_MAX_FMTMSG_LEN")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240326223825.4084412-3-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-29 12:22:28 -07:00
..
enetc.c enetc: avoid truncating error message 2024-03-29 12:22:28 -07:00
enetc.h net: enetc: Annotate struct enetc_int_vector with __counted_by 2023-10-02 11:24:53 -07:00
enetc_cbdr.c net: enetc: build common object files into a separate module 2023-01-23 13:13:08 +00:00
enetc_ethtool.c net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
enetc_hw.h net: enetc: only commit preemptible TCs to hardware when MM TX is active 2023-04-20 20:03:21 -07:00
enetc_ierb.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
enetc_ierb.h
enetc_mdio.c enetc: Separate C22 and C45 transactions 2023-01-13 21:40:54 -08:00
enetc_msg.c enetc: Add vf to pf messaging support 2019-01-24 21:55:53 -08:00
enetc_pci_mdio.c enetc: Separate C22 and C45 transactions 2023-01-13 21:40:54 -08:00
enetc_pf.c net: enetc: allow phy-mode = "1000base-x" 2024-01-04 16:56:54 -08:00
enetc_pf.h
enetc_ptp.c net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index 2023-08-02 11:18:22 -07:00
enetc_qos.c net: enetc: Annotate struct enetc_psfp_gate with __counted_by 2023-10-02 11:24:55 -07:00
enetc_vf.c
Kconfig net: ethernet: Add missing depends on MDIO_DEVRES 2023-04-12 20:38:48 -07:00
Makefile net: enetc: build common object files into a separate module 2023-01-23 13:13:08 +00:00