]> git.baikalelectronics.ru Git - kernel.git/commit
drm: logicvc: Fix uninitialized variable in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Jun 2022 12:08:25 +0000 (15:08 +0300)
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 24 Jun 2022 15:03:04 +0000 (17:03 +0200)
commit242bd0e97427d0e8c6a2ed4a67cc55fd522b379f
tree9e3596cac0116756e94da2af3b56d22a3f58ac11
parent8ad8a8156d4523c883b680c267592bdc5c609a5d
drm: logicvc: Fix uninitialized variable in probe

The "regmap" is supposed to be initialized to NULL but it's used
without being initialized.

Fixes: 03b72aa1419a ("drm: Add support for the LogiCVC display controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Yqh6OfSiPFuVrGo4@kili
drivers/gpu/drm/logicvc/logicvc_drm.c