On 23/07/14 22:50, Dmitry Torokhov wrote: > I think having control flow with 2 goto/labels/flags is quite hard to read, > this version is a bit more readable IMO. > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Yes, this looks much clearer to me. Although I can't see anything wrong looking at it, I think I should probably regression test it for the different failure paths before it is applied, I will bring it into my series. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html