diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-08 21:38:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-08 21:38:05 -0400 |
commit | 1e1437d9f8b5be362afdd0212dbae6c41f53f3d8 (patch) | |
tree | 7c22536424032112c0c5e3ddce45f0333478f355 /cmd/mux.c | |
parent | a169438411f9277cc689c14078151aa1d1caae3c (diff) | |
parent | 70fdcc704a978acb4de5e891469825596c0d292e (diff) |
Merge branch '2023-08-08-assorted-code-corrections' into next
- A number of code corrections caught by Smatch and a few others as
well.
Diffstat (limited to 'cmd/mux.c')
-rw-r--r-- | cmd/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mux.c b/cmd/mux.c index 833266f08b1..c75907af772 100644 --- a/cmd/mux.c +++ b/cmd/mux.c @@ -49,7 +49,7 @@ static struct mux_control *cmd_mux_find(char *const argv[]) chip = dev_get_uclass_priv(dev); if (!chip) - return ERR_PTR(ret); + return ERR_PTR(-EINVAL); if (id >= chip->controllers) return ERR_PTR(-EINVAL); |