diff options
| author | Bartosz Golaszewski <[email protected]> | 2022-01-20 19:49:48 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2022-01-24 08:20:02 +0000 |
| commit | dda8e14363f4f2bac0a1122322a35f47b5565d46 (patch) | |
| tree | a605551957c404173a3fc1432ded9504a8b694a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Linux 5.17-rc1 (diff) | |
| download | kernel-dda8e14363f4f2bac0a1122322a35f47b5565d46.tar.gz kernel-dda8e14363f4f2bac0a1122322a35f47b5565d46.zip | |
gpio: sim: check the label length when setting up device properties
If the user-space sets the chip label to an empty string - we should
check the length and not override the default name or else line hogs
will not be properly attached.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
