diff options
author | 2022-05-22 01:41:04 +0200 | |
---|---|---|
committer | 2022-05-25 17:39:49 +0200 | |
commit | b981cc333ff06cb23c7968007965e79c80f5df97 (patch) | |
tree | d26687e4473422fa23edf7697762da7bee5d6e61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m (diff) | |
download | linux-dev-b981cc333ff06cb23c7968007965e79c80f5df97.tar.xz linux-dev-b981cc333ff06cb23c7968007965e79c80f5df97.zip |
drm: use ENOMEM for drmm_kzalloc allocation failures
Other callers of drmm_kzalloc already return -ENOMEM on allocation
failure. Change EINVAL to ENOMEM for consistency.
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220521234104.88410-1-dossche.niels@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions