]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/tegra: gem: oops in error handling
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 16 Jan 2015 10:43:42 +0000 (13:43 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:41 +0000 (10:14 +0100)
commit2cb207e413a9ace502edbce51c604e2088b0acb2
treef5dd70fc51950300a392d73fdb29fbb327ca4744
parent8643bc6d8e3701734a86d2ae2da32bbfaf1d4535
drm/tegra: gem: oops in error handling

kfree(ERR_PTR(-ENOMEM)) will not work very well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c