Hi!
Zizhi Wo wozizhi@huaweicloud.com tty/vt: Add missing return value for VT_RESIZE in vt_ioctl()
This one was backported wrongly to 6.12:
+++ b/drivers/tty/vt/vt_ioctl.c @@ -923,7 +923,9 @@ int vt_ioctl(struct tty_struct *tty,
if (vc) { /* FIXME: review v tty lock */ - __vc_resize(vc_cons[i].d, cc, ll, true); + ret = __vc_resize(vc_cons[i].d, cc, ll, true); + if (ret) + return ret; } } console_unlock();
It needs to do console_unlock() before returning.
Best regards, Pavel