diff options
author | Advait Dhamorikar <advaitdhamorikar@gmail.com> | 2024-10-05 12:34:36 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-10-14 21:15:37 +0300 |
commit | 0aa4523cdb9683e35af91ebdfae8d2fb4e6c3b8b (patch) | |
tree | 4ff4871531ab2fb320eef44f355ed8a539aca705 /tools/perf/scripts/python/libxed.py | |
parent | 662f045332addc961940e48eb920caa954abbf09 (diff) | |
download | linux-0aa4523cdb9683e35af91ebdfae8d2fb4e6c3b8b.tar.xz |
dmaengine: ep93xx: Fix unsigned compared against 0
An unsigned value can never be negative,
so this test will always evaluate the same way.
In ep93xx_dma_alloc_chan_resources: An unsigned dma_cfg.port's
value is checked against EP93XX_DMA_I2S1 which is 0.
Signed-off-by: Advait Dhamorikar <advaitdhamorikar@gmail.com>
Link: https://lore.kernel.org/r/20241005093436.27728-1-advaitdhamorikar@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions