diff options
author | Evgeny Novikov <[email protected]> | 2020-07-06 18:53:28 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-07-10 16:17:29 +0200 |
commit | 19e55a87ad621b1ccba52ba781d29d97220154de (patch) | |
tree | f843bbfef5910b9426975bf81c015a702b5ea598 /drivers/fpga/xilinx-spi.c | |
parent | 80a00e90dedec514686ac1eb7e7b8e60e1d9aec9 (diff) |
fbdev: sm712fb: set error code in probe
If smtcfb_pci_probe() does not detect a valid chip it cleans up
everything and returns 0. This can result in various bad things later.
The patch sets the error code on the corresponding path.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Evgeny Novikov <[email protected]>
Cc: Sudip Mukherjee <[email protected]>
Cc: Teddy Wang <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions