]> www.infradead.org Git - users/dwmw2/linux.git/commit
um: line: always fill *error_out in setup_one_line()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 15:22:36 +0000 (17:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2024 10:03:14 +0000 (12:03 +0200)
commit824ac4a5edd3f7494ab1996826c4f47f8ef0f63d
tree67539430bc4fefd8b76ca75821e369cc3bea851f
parentbc94745d042bff9c5888451816d1a1efc7566fc3
um: line: always fill *error_out in setup_one_line()

The pointer isn't initialized by callers, but I have
encountered cases where it's still printed; initialize
it in all possible cases in setup_one_line().

Link: https://patch.msgid.link/20240703172235.ad863568b55f.Iaa1eba4db8265d7715ba71d5f6bb8c7ff63d27e9@changeid
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/line.c