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

Don Zickus dzickus at redhat.com
Fri May 8 13:56:41 UTC 2015


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 at redhat.com>
> > @@ -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


More information about the devel mailing list