diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-01-28 09:52:33 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-01-28 10:33:06 +0100 |
commit | f679a41fafc8cdc5c7879aa4726a28439fca7656 (patch) | |
tree | 47c9935da6206b6eb47ab48079ba58dea81aa84d /Documentation/x86/tlb.rst | |
parent | thunderbolt: Add support for de-authorizing devices (diff) | |
download | linux-f679a41fafc8cdc5c7879aa4726a28439fca7656.tar.xz linux-f679a41fafc8cdc5c7879aa4726a28439fca7656.zip |
thunderbolt: dma_port: Check 'dma_port_flash_write_block()'s return value
... and take the error path if it fails.
Fixes the following W=1 kernel build warning(s):
drivers/thunderbolt/dma_port.c: In function ‘dma_port_flash_write_block’:
drivers/thunderbolt/dma_port.c:331:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Cc: Andreas Noever <andreas.noever@gmail.com>
Cc: Michael Jamet <michael.jamet@intel.com>
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'Documentation/x86/tlb.rst')
0 files changed, 0 insertions, 0 deletions