Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BACKPORT: usb: typec: mux: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this. Bug: 254441685 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]> (cherry picked from commit b9fa0292490db39d6542f514117333d366ec0011) [Lee: dev_set_name() line was a little different - trivial fix-up] Signed-off-by: Lee Jones <[email protected]> Change-Id: I3bfcc613b7f6b08d01f1aab9dce71a05abe25bf6
- Loading branch information