summaryrefslogtreecommitdiff
path: root/drivers/mfd/max77620.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2023-05-31 14:50:42 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-01 18:13:31 +0300
commitc2478469f2bb821a268bd02cae5b2af1c119c9bd (patch)
tree78fc31735dc93b082664c59169ca47c1e609ebf5 /drivers/mfd/max77620.c
parent7a150f1ed19b709837e98571f49ab1ff2625ca89 (diff)
downloadlinux-c2478469f2bb821a268bd02cae5b2af1c119c9bd.tar.xz
fs: iomap: use bio_add_folio_nofail where possible
When the iomap buffered-io code can't add a folio to a bio, it allocates a new bio and adds the folio to that one. This is done using bio_add_folio(), but doesn't check for errors. As adding a folio to a newly created bio can't fail, use the newly introduced bio_add_folio_nofail() function. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/58fa893c24c67340a63323f09a179fefdca07f2a.1685532726.git.johannes.thumshirn@wdc.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mfd/max77620.c')
0 files changed, 0 insertions, 0 deletions