linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <philip.li@intel.com>
To: "Matthew Maurer" <mmaurer@google.com>,
	gary@garyguo.net, masahiroy@kernel.org,
	"Michael Ellerman" <mpe@ellerman.id.au>,
	"Luis Chamberlain" <mcgrof@kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Nicholas Piggin" <npiggin@gmail.com>,
	"Josh Poimboeuf" <jpoimboe@kernel.org>,
	"Song Liu" <song@kernel.org>, "Petr Mladek" <pmladek@suse.com>,
	"Naveen N Rao" <naveen@kernel.org>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
	"Paul E. McKenney" <paulmck@kernel.org>,
	"Nick Desaulniers" <ndesaulniers@google.com>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>,
	"Nhat Pham" <nphamcs@gmail.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Marc Aurèle La France" <tsi@tuyoix.net>
Cc: oe-kbuild-all@lists.linux.dev,
	"Linux Memory Management List" <linux-mm@kvack.org>,
	"Christophe Leroy" <christophe.leroy@csgroup.eu>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Nicolas Schier" <nicolas@fjasle.eu>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@samsung.com>
Subject: Re: [PATCH 2/3] modpost: Extended modversion support
Date: Thu, 16 Nov 2023 20:17:21 +0800	[thread overview]
Message-ID: <ZVYIUcSoVrXuAHvV@rli9-mobl> (raw)
In-Reply-To: <20231115185858.2110875-3-mmaurer@google.com>

[-- Attachment #1: Type: text/plain, Size: 3875 bytes --]

Hi Matthew,

kernel test robot noticed the following build errors:

[auto build test ERROR on mcgrof/modules-next]
[also build test ERROR on powerpc/next powerpc/fixes masahiroy-kbuild/for-next masahiroy-kbuild/fixes linus/master v6.7-rc1 next-20231115]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Matthew-Maurer/export_report-Rehabilitate-script/20231116-030301
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next
patch link:    https://lore.kernel.org/r/20231115185858.2110875-3-mmaurer%40google.com
patch subject: [PATCH 2/3] modpost: Extended modversion support
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (attached as reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311161008.T2J9BoqP-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   arch/powerpc/kernel/module_64.c: In function 'dedotify_ext_version_names':
>> arch/powerpc/kernel/module_64.c:373:9: error: implicit declaration of function 'bzero' [-Werror=implicit-function-declaration]
     373 |         bzero(&str_seq[out], size - out);
         |         ^~~~~
>> arch/powerpc/kernel/module_64.c:373:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
   cc1: some warnings being treated as errors


vim +/bzero +373 arch/powerpc/kernel/module_64.c

^1da177e4c3f41 arch/ppc64/kernel/module.c      Linus Torvalds 2005-04-16  357  
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  358  static void dedotify_ext_version_names(char *str_seq, unsigned long size)
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  359  {
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  360  	unsigned long out = 0;
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  361  	unsigned long in;
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  362  	char last = '\0';
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  363  
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  364  	for (in = 0; in < size; in++) {
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  365  		if (last == '\0')
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  366  			/* Skip all leading dots */
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  367  			if (str_seq[in] == '.')
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  368  				continue;
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  369  		last = str_seq[in];
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  370  		str_seq[out++] = last;
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  371  	}
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  372  	/* Zero the trailing portion of the names table for robustness */
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15 @373  	bzero(&str_seq[out], size - out);
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  374  }
e29ad08853ac5b arch/powerpc/kernel/module_64.c Matthew Maurer 2023-11-15  375  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 83037 bytes --]

[-- Attachment #3: reproduce --]
[-- Type: text/plain, Size: 808 bytes --]

reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add mcgrof https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git
        git fetch mcgrof modules-next
        git checkout mcgrof/modules-next
        b4 shazam https://lore.kernel.org/r/20231115185858.2110875-3-mmaurer@google.com
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kernel/

           reply	other threads:[~2023-11-16 12:18 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20231115185858.2110875-3-mmaurer@google.com>]

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=ZVYIUcSoVrXuAHvV@rli9-mobl \
    --to=philip.li@intel.com \
    --cc=a.hindborg@samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.gaynor@gmail.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=gary@garyguo.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=jpoimboe@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=masahiroy@kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mcgrof@kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mmaurer@google.com \
    --cc=mpe@ellerman.id.au \
    --cc=nathan@kernel.org \
    --cc=naveen@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=nicolas@fjasle.eu \
    --cc=nphamcs@gmail.com \
    --cc=npiggin@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ojeda@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=pmladek@suse.com \
    --cc=rdunlap@infradead.org \
    --cc=song@kernel.org \
    --cc=tsi@tuyoix.net \
    --cc=wedsonaf@gmail.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: link
Be 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