LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com> To: jglisse@redhat.com Cc: kbuild-all@01.org, linux-mm@kvack.org, "Andrew Morton" <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, "Jérôme Glisse" <jglisse@redhat.com>, "Ralph Campbell" <rcampbell@nvidia.com>, "John Hubbard" <jhubbard@nvidia.com>, "Evgeny Baskakov" <ebaskakov@nvidia.com> Subject: Re: [PATCH 2/4] mm/hmm: fix header file if/else/endif maze Date: Sat, 17 Mar 2018 08:53:11 +0800 [thread overview] Message-ID: <201803170847.tDn26SeR%fengguang.wu@intel.com> (raw) In-Reply-To: <20180315183700.3843-3-jglisse@redhat.com> [-- Attachment #1: Type: text/plain, Size: 2517 bytes --] Hi Jérôme, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc5 next-20180316] [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/jglisse-redhat-com/mm-hmm-documentation-editorial-update-to-HMM-documentation/20180317-074102 config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from kernel/fork.c:40:0: >> include/linux/hmm.h:515:20: error: redefinition of 'hmm_mm_destroy' static inline void hmm_mm_destroy(struct mm_struct *mm) {} ^~~~~~~~~~~~~~ include/linux/hmm.h:502:20: note: previous definition of 'hmm_mm_destroy' was here static inline void hmm_mm_destroy(struct mm_struct *mm) {} ^~~~~~~~~~~~~~ >> include/linux/hmm.h:516:20: error: redefinition of 'hmm_mm_init' static inline void hmm_mm_init(struct mm_struct *mm) {} ^~~~~~~~~~~ include/linux/hmm.h:503:20: note: previous definition of 'hmm_mm_init' was here static inline void hmm_mm_init(struct mm_struct *mm) {} ^~~~~~~~~~~ vim +/hmm_mm_destroy +515 include/linux/hmm.h 133ff0eac Jérôme Glisse 2017-09-08 509 133ff0eac Jérôme Glisse 2017-09-08 510 static inline void hmm_mm_init(struct mm_struct *mm) 133ff0eac Jérôme Glisse 2017-09-08 511 { 133ff0eac Jérôme Glisse 2017-09-08 512 mm->hmm = NULL; 133ff0eac Jérôme Glisse 2017-09-08 513 } 6b368cd4a Jérôme Glisse 2017-09-08 514 #else /* IS_ENABLED(CONFIG_HMM_MIRROR) */ 6b368cd4a Jérôme Glisse 2017-09-08 @515 static inline void hmm_mm_destroy(struct mm_struct *mm) {} 6b368cd4a Jérôme Glisse 2017-09-08 @516 static inline void hmm_mm_init(struct mm_struct *mm) {} 6b368cd4a Jérôme Glisse 2017-09-08 517 #endif /* IS_ENABLED(CONFIG_HMM_MIRROR) */ 133ff0eac Jérôme Glisse 2017-09-08 518 :::::: The code at line 515 was first introduced by commit :::::: 6b368cd4a44ce95b33f1d31f2f932e6ae707f319 mm/hmm: avoid bloating arch that do not make use of HMM :::::: TO: Jérôme Glisse <jglisse@redhat.com> :::::: CC: Linus Torvalds <torvalds@linux-foundation.org> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 6733 bytes --]
next prev parent reply other threads:[~2018-03-17 0:53 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-15 18:36 [PATCH 0/4] hmm: fixes and documentations jglisse 2018-03-15 18:36 ` [PATCH 1/4] mm/hmm: documentation editorial update to HMM documentation jglisse 2018-03-15 18:36 ` [PATCH 2/4] mm/hmm: fix header file if/else/endif maze jglisse 2018-03-16 0:11 ` Balbir Singh 2018-03-17 0:53 ` kbuild test robot [this message] 2018-03-15 18:36 ` [PATCH 3/4] mm/hmm: HMM should have a callback before MM is destroyed jglisse 2018-03-15 22:48 ` Andrew Morton 2018-03-16 0:54 ` Jerome Glisse 2018-03-16 1:17 ` John Hubbard 2018-03-20 11:33 ` Michal Hocko 2018-03-20 14:45 ` Jerome Glisse 2018-03-15 18:37 ` [PATCH 4/4] mm/hmm: change CPU page table snapshot functions to simplify drivers jglisse 2018-03-16 5:08 ` John Hubbard 2018-03-16 19:19 ` Jerome Glisse
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201803170847.tDn26SeR%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=akpm@linux-foundation.org \ --cc=ebaskakov@nvidia.com \ --cc=jglisse@redhat.com \ --cc=jhubbard@nvidia.com \ --cc=kbuild-all@01.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=rcampbell@nvidia.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).