linux/drivers/net/ethernet/freescale
Bill Wendling c011072c90 net/fsl: xgmac_mdio: use correct format characters
When compiling with -Wformat, clang emits the following warning:

drivers/net/ethernet/freescale/xgmac_mdio.c:243:22: warning: format
specifies type 'unsigned char' but the argument has type 'int'
[-Wformat]
                        phy_id, dev_addr, regnum);
                                          ^~~~~~
./include/linux/dev_printk.h:163:47: note: expanded from macro 'dev_dbg'
                dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
                                                    ~~~     ^~~~~~~~~~~
./include/linux/dev_printk.h:129:34: note: expanded from macro 'dev_printk'
                _dev_printk(level, dev, fmt, ##__VA_ARGS__);            \
                                        ~~~    ^~~~~~~~~~~

The types of these arguments are unconditionally defined, so this patch
updates the format character to the correct ones for ints and unsigned
ints.

Link: https://github.com/ClangBuiltLinux/linux/issues/378
Signed-off-by: Bill Wendling <morbo@google.com>
Link: https://lore.kernel.org/r/20220316213114.2352352-1-morbo@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-17 16:34:12 -07:00
..
dpaa bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
dpaa2 dpaa2-mac: configure the SerDes phy on a protocol change 2022-03-14 10:41:51 +00:00
enetc enetc: use correct format characters 2022-03-17 16:30:48 -07:00
fman Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
fs_enet ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
fec_main.c net: use bool values to pass bool param of phy_init_eee() 2022-01-24 17:09:56 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: fec_mpc52xx: don't discard const from netdev->dev_addr 2022-01-25 11:10:46 +00:00
fec_mpc52xx.h
fec_ptp.c net: fec_ptp: remove redundant initialization of variable val 2022-01-24 17:07:37 -08:00
fec.h net: fec: only clear interrupt of handling queue in fec_enet_rx_queue() 2021-12-07 21:39:39 -08:00
fsl_pq_mdio.c net: freescale: convert comma to semicolon 2020-12-09 16:23:08 -08:00
gianfar_ethtool.c gianfar: ethtool: Fix refcount leak in gfar_get_ts_info 2022-03-10 12:20:54 -08:00
gianfar.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
gianfar.h net: gianfar: Implement rx_missed_errors counter 2021-06-17 11:39:48 -07:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
ucc_geth_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ucc_geth.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
ucc_geth.h ethernet: ucc_geth: simplify rx/tx allocations 2021-01-21 12:19:56 -08:00
xgmac_mdio.c net/fsl: xgmac_mdio: use correct format characters 2022-03-17 16:34:12 -07:00