diff options
author | 2020-06-17 16:51:44 -0500 | |
---|---|---|
committer | 2020-08-11 03:16:02 +0200 | |
commit | 4f88b4ccb7036ce523b3c031d1226d6eda36417b (patch) | |
tree | 495eb2a981f5fe8236c750e961fa25c69bf1f678 /scripts/gen_compile_commands.py | |
parent | Merge tag 'drm-msm-next-2020-07-30' of https://gitlab.freedesktop.org/drm/msm into drm-next (diff) | |
download | linux-dev-4f88b4ccb7036ce523b3c031d1226d6eda36417b.tar.xz linux-dev-4f88b4ccb7036ce523b3c031d1226d6eda36417b.zip |
drm/vmwgfx: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.
This code was detected with the help of Coccinelle and, audited and
fixed manually.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions