aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2018-05-02 06:28:34 +0000
committerMartin Schwidefsky <[email protected]>2018-05-15 05:40:38 +0000
commit2e68adcd2fb21b7188ba449f0fab3bee2910e500 (patch)
tree35c6161dd9e82d735dfcd6b9bc6f6c2c28eb77eb /drivers/gpu/drm/omapdrm/omap_fbdev.c
parents390/qdio: fix access to uninitialized qdio_q fields (diff)
downloadkernel-2e68adcd2fb21b7188ba449f0fab3bee2910e500.tar.gz
kernel-2e68adcd2fb21b7188ba449f0fab3bee2910e500.zip
s390/qdio: don't release memory in qdio_setup_irq()
Calling qdio_release_memory() on error is just plain wrong. It frees the main qdio_irq struct, when following code still uses it. Also, no other error path in qdio_establish() does this. So trust callers to clean up via qdio_free() if some step of the QDIO initialization fails. Fixes: 779e6e1c724d ("[S390] qdio: new qdio driver.") Cc: <[email protected]> #v2.6.27+ Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions