mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
Merge tag 'qcomtee-fix-for-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee into arm/fixes
QCOMTEE fix for v7.1 Adding a missing va_end in early return qcomtee_object_user_init() * tag 'qcomtee-fix-for-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee: tee: qcomtee: add missing va_end in early return qcomtee_object_user_init() Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -306,8 +306,10 @@ int qcomtee_object_user_init(struct qcomtee_object *object,
|
||||
break;
|
||||
case QCOMTEE_OBJECT_TYPE_CB:
|
||||
object->ops = ops;
|
||||
if (!object->ops->dispatch)
|
||||
return -EINVAL;
|
||||
if (!object->ops->dispatch) {
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
/* If failed, "no-name". */
|
||||
object->name = kvasprintf_const(GFP_KERNEL, fmt, ap);
|
||||
|
||||
Reference in New Issue
Block a user