Re: [U-Boot] [PATCH] cmd/gpt: Address error cases during gpt rename more correctly

2020-01-20 Thread Tom Rini
On Fri, Jan 17, 2020 at 05:41:31PM +0100, Simon Goldschmidt wrote: > + Jordy, who just found a bug here... > > Am 08.11.2019 um 17:24 schrieb Tom Rini: > > New analysis by the tool has shown that we have some cases where we > > weren't handling the error exit condition correctly. When we ran into

Re: [U-Boot] [PATCH] cmd/gpt: Address error cases during gpt rename more correctly

2020-01-17 Thread Simon Goldschmidt
+ Jordy, who just found a bug here... Am 08.11.2019 um 17:24 schrieb Tom Rini: New analysis by the tool has shown that we have some cases where we weren't handling the error exit condition correctly. When we ran into the ENOMEM case we wouldn't exit the function and thus incorrect things could

[U-Boot] [PATCH] cmd/gpt: Address error cases during gpt rename more correctly

2019-11-08 Thread Tom Rini
New analysis by the tool has shown that we have some cases where we weren't handling the error exit condition correctly. When we ran into the ENOMEM case we wouldn't exit the function and thus incorrect things could happen. Rework the unwinding such that we don't need a helper function now and fr