diff options
| author | Dave Jiang <[email protected]> | 2025-05-08 17:05:48 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-05-14 13:52:55 +0000 |
| commit | ae74cd15ade833adc289279b5c6f12e78f64d4d7 (patch) | |
| tree | 04feb53890505ff466757f9f5aec0bd33154b6d5 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | dmaengine: idxd: Refactor remove call with idxd_cleanup() helper (diff) | |
| download | kernel-ae74cd15ade833adc289279b5c6f12e78f64d4d7.tar.gz kernel-ae74cd15ade833adc289279b5c6f12e78f64d4d7.zip | |
dmaengine: idxd: Fix ->poll() return value
The fix to block access from different address space did not return a
correct value for ->poll() change. kernel test bot reported that a
return value of type __poll_t is expected rather than int. Fix to return
POLLNVAL to indicate invalid request.
Fixes: 8dfa57aabff6 ("dmaengine: idxd: Fix allowing write() from different address spaces")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
