[PATCH 134/141] staging: unisys: Hide vbus_hdr_info from public visor_device

Dan Carpenter dan.carpenter at oracle.com
Sat May 9 09:24:34 UTC 2015


On Sat, May 09, 2015 at 12:19:28PM +0300, Dan Carpenter wrote:
> On Fri, May 08, 2015 at 04:07:03PM +0300, Dan Carpenter wrote:
> > > 
> > > This function leaks hdr_info on later error paths.
> > 
> > Never mind.  I'm wrong.  Sorry for the noise.
> > 
> 
> To be honest, I think I was right originally, but the code is such a
> twisty call path that it's hard to tell.

How the error handling work is that the lower levels calls:

POSTCODE_LINUX_3(BUS_CREATE_FAILURE_PC, bus_no, POSTCODE_SEVERITY_ERR);

POSTCODE_LINUX_3() has no documentation to speak of...

regards,
dan carpenter



More information about the devel mailing list