Re: [PATCH 125/141] staging: unisys: Convert cmd functions to visor_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 09, 2015 at 12:01:54PM +0300, Dan Carpenter wrote:
> On Tue, May 05, 2015 at 06:37:42PM -0400, Benjamin Romer wrote:
> > From: Don Zickus <dzickus@xxxxxxxxxx>
> >  
> >  cleanup:
> > -	bus_epilog(bus_no, CONTROLVM_BUS_CREATE, &inmsg->hdr,
> > +	bus_epilog(bus_info, CONTROLVM_BUS_CREATE, &inmsg->hdr,
> >  		   rc, inmsg->hdr.flags.response_expected == 1);
> >  }
> 
> On some error paths "bus_info" is NULL.  One err bug.

Ugh...  Basically ever place that calls bus_epilog() is buggy.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux