Oded Gabbay a507fbb975 habanalabs: don't print result when rc indicates error
send_cpu_message() doesn't update the result parameter when an error
occurs in its code. Therefore, callers of send_cpu_message() shouldn't use
the result value when the return code indicates error.

This patch fixes a static checker warning in goya_test_cpu_queue(), where
that function did print the result even though the return code from
send_cpu_message() indicated error.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-23 10:18:13 +01:00
..
2019-02-08 10:53:44 -08:00
2019-01-20 09:12:50 +12:00
2018-12-31 17:32:35 -08:00
2018-12-29 08:20:44 -07:00
2019-02-10 10:39:37 -08:00
2019-02-08 16:23:41 -08:00
2019-02-11 09:05:58 +01:00
2019-01-26 11:14:25 +01:00
2019-02-08 15:34:10 -08:00
2019-02-06 17:24:37 -05:00
2019-01-05 11:30:37 -08:00
2018-12-28 16:52:18 -08:00
2019-01-28 08:13:52 +01:00
2019-02-08 15:32:10 -08:00
2019-01-05 11:23:17 -08:00
2019-01-25 12:57:09 -10:00
2018-12-29 13:03:29 -08:00
2018-12-24 12:06:56 +01:00
2019-01-01 13:24:31 -08:00
2019-02-11 09:05:58 +01:00
2019-01-30 11:14:04 +01:00
2018-12-31 13:06:30 -08:00
2019-02-08 10:49:55 -08:00
2019-01-28 22:53:09 -08:00
2019-01-28 08:13:52 +01:00