Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snagrecover: utils: Correct USB path parsing
There is a bug in the parse_usb_path() function that causes paths of the form "^\d-\d\d$" to be parsed incorrectly. For example, "2-10" should be parsed to (2, 10) but it will be parsed to (2, 1, 0) instead. Correct parse_usb_path() to fix this. Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
- Loading branch information