aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorHerve Codina <[email protected]>2024-05-13 11:18:53 +0000
committerDavid S. Miller <[email protected]>2024-05-16 08:46:07 +0000
commit99975ad644c7836414183fa7be4f883a4fb2bf64 (patch)
treeff79ec21f09f93dd7fede8ead7c214bbcadcf563 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (diff)
downloadkernel-99975ad644c7836414183fa7be4f883a4fb2bf64.tar.gz
kernel-99975ad644c7836414183fa7be4f883a4fb2bf64.zip
net: lan966x: remove debugfs directory in probe() error path
A debugfs directory entry is create early during probe(). This entry is not removed on error path leading to some "already present" issues in case of EPROBE_DEFER. Create this entry later in the probe() code to avoid the need to change many 'return' in 'goto' and add the removal in the already present error path. Fixes: 942814840127 ("net: lan966x: Add VCAP debugFS support") Cc: <[email protected]> Signed-off-by: Herve Codina <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Horatiu Vultur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions