linux_dsm_epyc7002/drivers/misc/habanalabs
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
..
goya habanalabs: don't print result when rc indicates error 2019-02-23 10:18:13 +01:00
include habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
asid.c habanalabs: add context and ASID modules 2019-02-18 09:46:44 +01:00
command_buffer.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
command_submission.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
context.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
debugfs.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
device.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
habanalabs_drv.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
habanalabs_ioctl.c habanalabs: implement INFO IOCTL 2019-02-18 09:46:46 +01:00
habanalabs.h habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
hw_queue.c habanalabs: add command submission module 2019-02-18 09:46:45 +01:00
hwmon.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
irq.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
Kconfig
Makefile habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
memory.c habanalabs: use GFP_ATOMIC under spin lock 2019-02-22 08:45:40 +01:00
mmu.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
sysfs.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00