diff options
| author | Markus Elfring <[email protected]> | 2016-09-19 15:17:34 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-09-21 11:24:27 +0000 |
| commit | ed6dee41927b6acad9f209899f360d4167f3f452 (patch) | |
| tree | 0d8796a3abfe0890335da23e48d765d86e505f07 /drivers/gpu/drm/drm_framebuffer.c | |
| parent | GPU-DRM: Use kmalloc_array() in drm_legacy_addbufs_pci() (diff) | |
| download | kernel-ed6dee41927b6acad9f209899f360d4167f3f452.tar.gz kernel-ed6dee41927b6acad9f209899f360d4167f3f452.zip | |
GPU-DRM: Replace two kzalloc() calls by kcalloc() in drm_legacy_addbufs_pci()
The script "checkpatch.pl" can point information out like the following.
WARNING: Prefer kcalloc over kzalloc with multiply
Thus fix the affected source code places.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions
