commit | 5d060789ad4b42ea322ab1d0e11df17954d50987 | [log] [tgz] |
---|---|---|
author | Jeremy Compostella <jeremy.compostella@intel.com> | Mon May 02 17:29:28 2016 +0200 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Oct 24 23:41:21 2016 +0800 |
tree | f7d0af7a23e2e7eb9a9d0bed91b5e9b4eb3dbdc0 | |
parent | 8acc3e14c4dd2ad92bd36bc11974c35dff72c74b [diff] |
ANDROID: dm: fix dm_substitute_devices() When candidate is the last parameter, candidate_end points to the '\0' character and not the DM_FIELD_SEP character. In such a situation, we should not move the candidate_end pointer one character backward. Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>