summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2025-10-30 23:25:27 +0100
committerUwe Kleine-König <ukleinek@kernel.org>2025-11-14 11:56:14 +0100
commit0a47e5e864c72627aacde1ed464539ba83e45221 (patch)
treefa5ef6b08d9a41ed8e6029bc3a17c6db1494728d /tools/testing/selftests/net/lib/py/utils.py
parenta875806eac0b0d4be5bbf901350fcca22f515d92 (diff)
pwm: mediatek: Make use of struct_size macro
struct_size provides the size of a struct with a flexible array member. Use that instead of open-coding it (with less checks than the global macro). Reported-by: kernel test robot <lkp@intel.com> Reported-by: Julia Lawall <julia.lawall@inria.fr> Closes: https://lore.kernel.org/r/202510301753.iqGmTwae-lkp@intel.com/ Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20251030222528.632836-2-u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions