diff options
author | 2022-10-19 16:34:42 +0200 | |
---|---|---|
committer | 2022-10-20 10:53:13 +0200 | |
commit | a91e5e3e2216354e27ee6adf9cb2d5d9548cad8c (patch) | |
tree | 63127caa53c1654ba0f3564e83176ac293739d1c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm: tests: Fix a buffer overflow in format_helper_test (diff) | |
download | linux-dev-a91e5e3e2216354e27ee6adf9cb2d5d9548cad8c.tar.xz linux-dev-a91e5e3e2216354e27ee6adf9cb2d5d9548cad8c.zip |
drm/connector: Set DDC pointer in drmm_connector_init
Commit 35a3b82f1bdd ("drm/connector: Introduce drmm_connector_init")
introduced the function drmm_connector_init() with a parameter for an
optional ddc pointer to the i2c controller used to access the DDC bus.
However, the underlying call to __drm_connector_init() was always
setting it to NULL instead of passing the ddc argument around.
This resulted in unexpected null pointer dereference on platforms
expecting to get a DDC controller.
Fixes: 35a3b82f1bdd ("drm/connector: Introduce drmm_connector_init")
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20221019143442.1798964-1-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions