diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-07-22 13:10:51 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-29 09:43:20 +0530 |
commit | b60bb6e2bfc192091b8f792781b83b5e0f9324f6 (patch) | |
tree | a3d3f6e0a83f09a88a14bb36fee98e7b3fde9521 /drivers/dma/sh | |
parent | 125d10373ad991888c9e94d2da49bcc5ccba2127 (diff) | |
download | linux-b60bb6e2bfc192091b8f792781b83b5e0f9324f6.tar.gz |
dmaengine: idxd: fix abort status check
Coverity static analysis of linux-next found issue.
The check (status == IDXD_COMP_DESC_ABORT) is always false since status
was previously masked with 0x7f and IDXD_COMP_DESC_ABORT is 0xff.
Fixes: 6b4b87f2c31a ("dmaengine: idxd: fix submission race window")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162698465160.3560828.18173186265683415384.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions