Home
last modified time | relevance | path

Searched hist:"30 e3ea4c79dd35e97d04546bd39e2468c8ba63ef" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu_sf.c30e3ea4c79dd35e97d04546bd39e2468c8ba63ef Tue Oct 20 09:52:00 UTC 2015 Vignesh R <vigneshr@ti.com> dfu: dfu_sf: Pass duplicate devstr to parse_dev

parse_dev() alters the string pointed by devstr parameter. Due to this
subsequent parsing of sf entities will fail, as string pointed by devstr
is no longer valid sf dev arguments.
Fix this by passing pointer to the copy of the string to parse_dev
instead of pointer to the actual devstr.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>