Tag: cf7d7edc7a120fd5001f6dcc1e9f2c8e9c09e6c9

ALSA: riptide: Use DIV_ROUND_UP

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) – 1) /(d)) but is perhaps more readable. The Coccinelle script used to make this change is as follows: @haskernel@ @@ #include @depends on haskernel@ expression n,d; @@ ( – (n + d – 1) / d + DIV_ROUND_UP(n,d) | …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.