diff options
| author | Jani Nikula <[email protected]> | 2023-02-16 20:44:58 +0000 |
|---|---|---|
| committer | Dmitry Osipenko <[email protected]> | 2023-02-26 23:58:37 +0000 |
| commit | 5bacecc3c56131c31f18b23d366f2184328fd9cf (patch) | |
| tree | 87fc3f9fd7ac7cc8a381b2d29b65a9132d9ed0a2 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/v3d: Use drm_sched_job_add_syncobj_dependency() (diff) | |
| download | kernel-5bacecc3c56131c31f18b23d366f2184328fd9cf.tar.gz kernel-5bacecc3c56131c31f18b23d366f2184328fd9cf.zip | |
drm/displayid: add displayid_get_header() and check bounds better
Add a helper to get a pointer to struct displayid_header. To be
pedantic, add buffer overflow checks to not touch the base if that
itself would overflow.
Cc: Iaroslav Boliukin <[email protected]>
Cc: Dmitry Osipenko <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/4a03b3a5132642d3cdb6d4c2641422955a917292.1676580180.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
