aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2023-09-22 19:18:38 +0200
committerDavid S. Miller <[email protected]>2023-10-02 08:07:12 +0100
commit1f73286371c27cca0fd0094962e480e2b9ef3809 (patch)
tree646594d9a9e5a04086ea9900751b4f07f37cfe57 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent7afc79e20e22dc3ca552a75665b51b5a93e29632 (diff)
mlxsw: i2c: Utilize standard macros for dividing buffer into chunks
Use standard macro DIV_ROUND_UP() to determine the number of chunks required for a given buffer. Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Petr Machata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions