aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-08-23 05:52:36 +0000
committerAlex Deucher <[email protected]>2017-08-24 18:27:43 +0000
commita1d6b1901a2154e9f44f39738491f0afc3f8608e (patch)
tree86d93d568fbc2be69550ef3e0aa8a43dc1c54a78 /drivers/net/xen-netback/interface.c
parentdrm/amd/amdgpu: fix BANK_SELECT on Vega10 (v2) (diff)
downloadkernel-a1d6b1901a2154e9f44f39738491f0afc3f8608e.tar.gz
kernel-a1d6b1901a2154e9f44f39738491f0afc3f8608e.zip
drm/amdgpu: check memory allocation failure
Check memory allocation failure and return -ENOMEM in such a case. 'num_post_dep_syncobjs' still has to be set to 0 before the test in order to have it initialized if 'amdgpu_cs_parser_fini()' is called to free resources. The calling graph would be, in such a case! failure in amdgpu_cs_process_syncobj_out_dep() ---> error code returned by amdgpu_cs_dependencies() --> amdgpu_cs_parser_fini() is called Reviewed-by: Christian König <[email protected]> Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions