Petr Tesarik hat@tesarici.cz writes:
Now, I've found some (minor) bugs in the device driver code, and I fixed them along the way. IMO what you need is that:
First, I send a patch that moves the (buggy) code to a separate function which can be called both by the INT2F handler and by the interrupt routine.
Next, I send a patch fixing the bugs.
Is that right?
Yes, each separate change must be a separate patch. If you are moving code, you should send a patch that does just that, without changing anything else. If you are fixing bugs send one patch per bug.