]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: vchiq_core: Return on all errors from queue_message()
authorUmang Jain <umang.jain@ideasonboard.com>
Wed, 18 Sep 2024 16:30:56 +0000 (22:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Oct 2024 09:58:47 +0000 (11:58 +0200)
commitfbd06c751a5c2092484f6a43fed0120ee8844d6a
tree1203566293b81aea4cdbf4df80af1402d02fe049
parent36022f3ee8c2d7c1442dc6453489b2e5f5a6d393
staging: vchiq_core: Return on all errors from queue_message()

In vchiq_connect_internal(), a MAKE_CONNECT message is queued
if the connection is disconnected, but only -EAGAIN error is
checked on the error path and returned.

However, queue_message() can fail with other errors as well hence,
vchiq_connect_internal() should return in those cases as well.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20240918163100.870596-3-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c