diff options
| author | Jerry Ray <jerry.ray@microchip.com> | 2023-01-17 14:56:59 -0600 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-01-20 08:53:13 +0000 |
| commit | 601f574a1b449446a98d65cc3871a8eb2cb18bcf (patch) | |
| tree | d932d3af47d91408c8a9e45e8ebf1562435eafc7 /lib/mpi/mpi-mod.c | |
| parent | 1bcb5df81e4b788d3a0ff5b04dc5299758b38ac5 (diff) | |
dsa: lan9303: Add exception logic for read failure
While it is highly unlikely a read will ever fail, This code fragment is
now in a function that allows us to return an error code. A read failure
here will cause the lan9303_probe to fail.
Signed-off-by: Jerry Ray <jerry.ray@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
