Re: [PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-31 Thread Suman Anna
On 07/30/2018 11:15 PM, Bjorn Andersson wrote: > On Thu 26 Jul 18:15 PDT 2018, Suman Anna wrote: > >> Unwind the modified table_ptr and restore it to the local copy >> upon any subsequent failures in the rproc_start() function. This >> keeps the function to remain balanced on failures without the

Re: [PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-30 Thread Bjorn Andersson
On Thu 26 Jul 18:15 PDT 2018, Suman Anna wrote: > Unwind the modified table_ptr and restore it to the local copy > upon any subsequent failures in the rproc_start() function. This > keeps the function to remain balanced on failures without the need > to balance any modified variables elsewhere. >

[PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-26 Thread Suman Anna
Unwind the modified table_ptr and restore it to the local copy upon any subsequent failures in the rproc_start() function. This keeps the function to remain balanced on failures without the need to balance any modified variables elsewhere. While at this, do some minor cleanup of the extra lines be