diff options
| author | Bjorn Andersson <[email protected]> | 2022-04-22 15:23:47 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-26 13:47:13 +0200 |
| commit | b9fa0292490db39d6542f514117333d366ec0011 (patch) | |
| tree | bf88ad61767c5498f0a0730ceb49703b4ccec0da /include | |
| parent | bcd6a517aacae7e708a1be019a0c3ab9f4371c2b (diff) | |
usb: typec: mux: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this.
Fixes: 3370db35193b ("usb: typec: Registering real device entries for the muxes")
Reported-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions