Re: [PATCH] mm: save two stranding bit in gfp_mask
From: Michal Hocko
Date: Wed May 23 2018 - 03:24:26 EST
On Wed 23-05-18 16:08:28, kbuild test robot wrote:
> Hi Shakeel,
>
> Thank you for the patch! Perhaps something to improve:
>
> [auto build test WARNING on mmotm/master]
> [also build test WARNING on v4.17-rc6]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Shakeel-Butt/mm-save-two-stranding-bit-in-gfp_mask/20180518-202316
> base: git://git.cmpxchg.org/linux-mmotm.git master
>
What is the warning? Btw. this smells like a failure in the script of
some sort. The patch you are referring doesn't really change any code
except using different valuues for gfp constants which shouldn't make
any difference to any code.
> vim +/jl +2585 fs/reiserfs/journal.c
>
> ^1da177e Linus Torvalds 2005-04-16 2573
> ^1da177e Linus Torvalds 2005-04-16 2574 static struct reiserfs_journal_list *alloc_journal_list(struct super_block *s)
> ^1da177e Linus Torvalds 2005-04-16 2575 {
> ^1da177e Linus Torvalds 2005-04-16 2576 struct reiserfs_journal_list *jl;
> 8c777cc4 Pekka Enberg 2006-02-01 2577 jl = kzalloc(sizeof(struct reiserfs_journal_list),
> 8c777cc4 Pekka Enberg 2006-02-01 2578 GFP_NOFS | __GFP_NOFAIL);
> ^1da177e Linus Torvalds 2005-04-16 2579 INIT_LIST_HEAD(&jl->j_list);
> ^1da177e Linus Torvalds 2005-04-16 2580 INIT_LIST_HEAD(&jl->j_working_list);
> ^1da177e Linus Torvalds 2005-04-16 2581 INIT_LIST_HEAD(&jl->j_tail_bh_list);
> ^1da177e Linus Torvalds 2005-04-16 2582 INIT_LIST_HEAD(&jl->j_bh_list);
> 90415dea Jeff Mahoney 2008-07-25 2583 mutex_init(&jl->j_commit_mutex);
> ^1da177e Linus Torvalds 2005-04-16 2584 SB_JOURNAL(s)->j_num_lists++;
> ^1da177e Linus Torvalds 2005-04-16 @2585 get_journal_list(jl);
> ^1da177e Linus Torvalds 2005-04-16 2586 return jl;
> ^1da177e Linus Torvalds 2005-04-16 2587 }
> ^1da177e Linus Torvalds 2005-04-16 2588
>
> :::::: The code at line 2585 was first introduced by commit
> :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
>
> :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
Michal Hocko
SUSE Labs