On Fri, Mar 11, 2016 at 3:32 PM, Kyrill Tkachov <kyrylo.tkac...@foss.arm.com> wrote: > Hi all, > > As reported in the PR we can end up calling fclose twice on a file, causing > an error. > This patch fixes that by reorganising the logic a bit to ensure we return > after closing > the file the first time. > > Bootstrapped and tested on arm-none-linux-gnueabihf > > Ok for trunk? > > Thanks, > Kyrill > > 2016-03-11 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > PR driver/70132 > * config/arm/driver-arm.c (host_detect_local_cpu): Set file pointer > to NULL after closing file.
OK with a fixed changelog. Ramana