diff options
author | Gerd Hoffmann <[email protected]> | 2022-06-20 09:15:47 +0200 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-06-20 08:38:29 -0500 |
commit | 05b252cccb2e5c3f56119d25de684b4f810ba40a (patch) | |
tree | 3440116ce35993ffedcfa6067503574208e77062 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | a111daf0c53ae91e71fd2bfe7497862d14132e3e (diff) |
udmabuf: add back sanity check
Check vm_fault->pgoff before using it. When we removed the warning, we
also removed the check.
Fixes: 7b26e4e2119d ("udmabuf: drop WARN_ON() check.")
Reported-by: [email protected]
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions