On Sun, Dec 14, 2014 at 4:52 PM, Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx> wrote: > units = 1; ... > /* Specified units override the multiplier */ > if (units) That doesn't make much sense. The conditional logic will always be executed. Maybe this is what's intended? /* Specified units override the multiplier */ - if (units) + if (units > 1) mult = mult < 0 ? -units : units; Chris _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel