aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2023-05-06 17:04:14 +0100
committerLinus Torvalds <[email protected]>2023-05-06 10:08:59 -0700
commit38a55db9877cae9aa9cc53bb0464b7434fb03e75 (patch)
tree7b6d36572ba14afcc0b72424c50b69f0f2f8b4b6 /lib/test_fortify/write_overflow-strncpy.c
parentdd9e11d6477a52ede9ebe575c83285e79e823889 (diff)
filemap: Handle error return from __filemap_get_folio()
Smatch reports that filemap_fault() was missed in the conversion of __filemap_get_folio() error returns from NULL to ERR_PTR. Fixes: 66dabbb65d67 ("mm: return an ERR_PTR from __filemap_get_folio") Reported-by: Dan Carpenter <[email protected]> Reported-by: [email protected] Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions