linux-stable/drivers/net/ethernet/mscc
Colin Foster fa1d90b048 net: mscc: ocelot: check return values of writes during reset
The ocelot_reset() function utilizes regmap_field_write() but wasn't
checking return values. While this won't cause issues for the current MMIO
regmaps, it could be an issue for externally controlled interfaces.

Add checks for these return values.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-21 18:29:38 -07:00
..
Kconfig of: net: move of_net under net/ 2021-10-07 13:39:51 +01:00
Makefile net: mscc: ocelot: move stats code to ocelot_stats.c 2022-09-09 10:59:12 +01:00
ocelot.c net: dsa: felix: add support for changing DSA master 2022-09-20 10:32:36 +02:00
ocelot.h net: mscc: ocelot: unexport ocelot_port_fdb_do_dump from the common lib 2022-09-09 10:59:12 +01:00
ocelot_devlink.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
ocelot_fdma.c net: ocelot: fix wrong time_after usage 2022-07-07 18:05:36 -07:00
ocelot_fdma.h net: ocelot: add FDMA support 2021-12-10 20:56:58 -08:00
ocelot_flower.c net: mscc: ocelot: offload tc action "ok" using an empty action vector 2022-05-22 22:15:19 +01:00
ocelot_io.c net: mscc: ocelot: add ability to perform bulk reads 2022-02-14 13:24:29 +00:00
ocelot_mrp.c net: mscc: ocelot: enforce FDB isolation when VLAN-unaware 2022-02-27 11:06:14 +00:00
ocelot_net.c net: dsa: propagate extack to port_lag_join 2022-09-20 10:32:36 +02:00
ocelot_police.c net: mscc: ocelot: drop port argument from qos_policer_conf_set 2022-05-04 20:42:15 -07:00
ocelot_police.h net: mscc: ocelot: drop port argument from qos_policer_conf_set 2022-05-04 20:42:15 -07:00
ocelot_ptp.c net: mscc: ocelot: move more PTP code from the lib to ocelot_ptp.c 2022-09-09 10:59:12 +01:00
ocelot_qs.h
ocelot_rew.h
ocelot_stats.c net: mscc: ocelot: add support for all sorts of standardized counters present in DSA 2022-09-09 10:59:12 +01:00
ocelot_vcap.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
ocelot_vcap.h net: dsa: felix: perform switch setup for tag_8021q 2021-01-29 21:25:27 -08:00
ocelot_vsc7514.c net: mscc: ocelot: check return values of writes during reset 2022-09-21 18:29:38 -07:00
vsc7514_regs.c net: mscc: ocelot: harmonize names of SYS_COUNT_TX_AGING and OCELOT_STAT_TX_AGED 2022-09-09 10:59:12 +01:00