]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: virtuser: actually use the "trimmed" local variable
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 9 Jul 2024 15:12:34 +0000 (17:12 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 10 Jul 2024 12:17:31 +0000 (14:17 +0200)
commit1d8267bcbb7aa2176365299ad57e067f73b5174d
tree8d4098101a0a20f78c6ff8bccdb61025d9c8ba9b
parent337049890b8cbbb4fb527c58976ea19f4dc747a0
gpio: virtuser: actually use the "trimmed" local variable

This variable is set with the intention of being passed to the
subsequent strcmp() but something went wrong and it was left unused. Use
it now.

Fixes: 91581c4b3f29 ("gpio: virtuser: new virtual testing driver for the GPIO API")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407092245.BPnW2mr6-lkp@intel.com/
Link: https://lore.kernel.org/r/20240709151235.90523-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-virtuser.c