Hi Wolfram, On Tue, Dec 3, 2019 at 9:33 PM Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote: > Pretty much like the BSP patch. Just some rebasing, refactorization and > updates of the commit message. I especially changed the original > calculation from: > > + host->tap_set = (host->tap_set + > + host->tap_num + 1) % host->tap_num; > > to: > > + host->tap_set = (host->tap_set + 1) % host->tap_num; > > (same for -1). Because "+ tap_num % tap_num" is a NOOP. Or did I miss > something? Since all variables are unsigned, this should be equivalent. BTW, why is tap_set unsigned long instead of unsigned int? And perhaps it should be moved from host to priv? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds