Re: [PATCH 126/141] staging: unisys: Convert the epilog functions to visor_device

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

 



On Fri, May 08, 2015 at 11:00:18AM +0300, Dan Carpenter wrote:
> On Tue, May 05, 2015 at 06:37:43PM -0400, Benjamin Romer wrote:
> > From: Don Zickus <dzickus@xxxxxxxxxx>
> > @@ -1128,7 +1119,7 @@ device_epilog(u32 bus_no, u32 dev_no, struct spar_segment_state state, u32 cmd,
> >  		switch (cmd) {
> >  		case CONTROLVM_DEVICE_CREATE:
> >  			if (notifiers->device_create) {
> > -				(*notifiers->device_create) (bus_no, dev_no);
> > +				(*notifiers->device_create) (dev_info);
> >  				notified = true;
> >  			}
> >  			break;
> 
> This doesn't work.  We don't change the (*notifiers->device_create)
> function pointer until the next patch.

Correct.  The changes were so intertwined that I could either post a giant
monolithic patch and maintain bisectability or break things into smaller
chunks for review purpose but lose the ability to bisect.

I chose the later.  The weak argument we used is that no one will enable
this driver (except unisys) so it normally won't break bisecting by others.

This patch was part of a 5-6 part patch series that changed things in waves
as I went through the driver stack.  The first wave was the direct interface
with the S-PAR.  The second wave (this patch) modified the functions called
by the first wave, etc, etc.

Let me know what a better way to present this would be.

Cheers,
Don
_______________________________________________
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