CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: "Matthew Wilcox (Oracle)" <[email protected]>
TO: [email protected]
TO: [email protected]
CC: "Matthew Wilcox (Oracle)" <[email protected]>
CC: [email protected]

Hi "Matthew,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20210505]
[cannot apply to hnaz-linux-mm/master xfs-linux/for-next tip/perf/core 
shaggy/jfs-next block/for-next linus/master asm-generic/master v5.12 v5.12-rc8 
v5.12-rc7 v5.12]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/Memory-folios/20210506-014108
base:    29955e0289b3255c5f609a7564a0f0bb4ae35c7a
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: i386-randconfig-c001-20210505 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Julia Lawall <[email protected]>


cocci warnings: (new ones prefixed by >>)
>> mm/folio-compat.c:95:17-21: ERROR: folio is NULL but dereferenced.

vim +95 mm/folio-compat.c

76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  88) 
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  89) struct page 
*pagecache_get_page(struct address_space *mapping, pgoff_t index,
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  90)          int fgp_flags, 
gfp_t gfp)
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  91) {
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  92)  struct folio *folio = 
filemap_get_folio(mapping, index, fgp_flags, gfp);
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  93) 
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05  94)  if ((fgp_flags & 
FGP_HEAD) || !folio || xa_is_value(folio))
76f3e1399481a2 Matthew Wilcox (Oracle  2021-05-05 @95)          return 
&folio->page;

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to