summaryrefslogtreecommitdiff
path: root/drivers/base/physical_location.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-06-13 13:06:49 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2023-06-27 09:58:49 +0200
commitf90a0e5265b60cdd3c77990e8105f79aa2fac994 (patch)
tree78047d3aa91696933146943dfb04467f123b043f /drivers/base/physical_location.c
parentbe05e207d4ec2981568a6f0c7d8ed133d2486a71 (diff)
fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
Do not assing the Linux device to struct fb_info.dev. The call to register_framebuffer() initializes the field to the fbdev device. Drivers should not override its value. Fixes a bug where the driver incorrectly decreases the hardware device's reference counter and leaks the fbdev device. v2: * add Fixes tag (Dan) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 88017bda96a5 ("ep93xx video driver") Cc: <stable@vger.kernel.org> # v2.6.32+ Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-15-tzimmermann@suse.de
Diffstat (limited to 'drivers/base/physical_location.c')
0 files changed, 0 insertions, 0 deletions