diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-18 00:51:44 +0300 |
|---|---|---|
| committer | Roland Scheidegger <sroland@vmware.com> | 2020-08-11 04:16:02 +0300 |
| commit | 4f88b4ccb7036ce523b3c031d1226d6eda36417b (patch) | |
| tree | 495eb2a981f5fe8236c750e961fa25c69bf1f678 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | dc100bc8fae59aafd2ea2e1a1a43ef1f65f8a8bc (diff) | |
| download | linux-4f88b4ccb7036ce523b3c031d1226d6eda36417b.tar.xz | |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
