[Skiboot] [PATCH 2/9] phb4: Verbose EEH options

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jul 8 13:04:33 AEST 2017


On Sat, 2017-07-08 at 09:35 +1000, Michael Neuling wrote:
> > +static void phb4_read_phb_status(struct phb4 *p,
> > > +				 struct OpalIoPhb4ErrorData *stat);
> > 
> > +static void phb4_eeh_dump_regs(struct phb4 *p)
> > +{
> > > +	struct OpalIoPhb4ErrorData *s;
> > > +	unsigned int i;
> > 
> > +
> > +	s = zalloc(sizeof(struct OpalIoPhb4ErrorData));
> 
> This is never freed.

Oops, forgot about that one, I'll try to get an updated patch tomorrow.

Sorry about that, you did tell me earlier !

Cheers,
Ben.



More information about the Skiboot mailing list