aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2018-04-26 10:24:19 +0000
committerBartlomiej Zolnierkiewicz <[email protected]>2018-04-26 10:24:19 +0000
commit85d108dee574c038423f573b6ae93d43d12e971e (patch)
tree40035424a905328bd04c06a274cab57551dce715 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentvideo: sm501fb: Improve a size determination in sm501fb_probe() (diff)
downloadkernel-85d108dee574c038423f573b6ae93d43d12e971e.tar.gz
kernel-85d108dee574c038423f573b6ae93d43d12e971e.zip
video: omap: Improve a size determination in omapfb_do_probe()
Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Cc: Tomi Valkeinen <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions