aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorZhangPeng <[email protected]>2024-11-04 12:34:40 +0000
committerRichard Weinberger <[email protected]>2024-11-15 19:55:32 +0000
commitbed2cc482600296fe04edbc38005ba2851449c10 (patch)
tree19798268ec9b74145a4e0f03447404b2ed50db36 /drivers/usb/cdns3/cdns3-plat.c
parentum: move thread info into task (diff)
downloadkernel-bed2cc482600296fe04edbc38005ba2851449c10.tar.gz
kernel-bed2cc482600296fe04edbc38005ba2851449c10.zip
hostfs: Fix the NULL vs IS_ERR() bug for __filemap_get_folio()
The __filemap_get_folio() function returns error pointers. It never returns NULL. So use IS_ERR() to check it. Fixes: 1da86618bdce ("fs: Convert aops->write_begin to take a folio") Signed-off-by: ZhangPeng <[email protected]> Acked-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions