summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@nvidia.com>2023-09-22 19:18:38 +0200
committerDavid S. Miller <davem@davemloft.net>2023-10-02 08:07:12 +0100
commit1f73286371c27cca0fd0094962e480e2b9ef3809 (patch)
tree646594d9a9e5a04086ea9900751b4f07f37cfe57 /scripts/gdb/linux/utils.py
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 <vadimp@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions