mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Simon Que <sque@chromium.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Guenter Roeck <groeck@chromium.org>,
	Daniel Kurtz <djkurtz@chromium.org>
Subject: [jsarha:topic/cros-sof-v4.19 661/6555] arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo'
Date: Sat, 2 Jul 2022 20:17:41 +0800	[thread overview]
Message-ID: <202207022055.ARalrDZa-lkp@intel.com> (raw)

Hi Simon,

First bad commit (maybe != root cause):

tree:   https://github.com/jsarha/linux topic/cros-sof-v4.19
head:   d7a3e91d8d16d1ef8653deec5a1fffc4de034a0c
commit: 1b944fcc75978529942e762d8cf0dc21d6531a91 [661/6555] CHROMIUM: Add -Werror build option
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20220702/202207022055.ARalrDZa-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/jsarha/linux/commit/1b944fcc75978529942e762d8cf0dc21d6531a91
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/cros-sof-v4.19
        git checkout 1b944fcc75978529942e762d8cf0dc21d6531a91
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um prepare

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo' [-Werror=missing-prototypes]
      30 | void foo(void)
         |      ^~~
   cc1: all warnings being treated as errors
   make[2]: *** [scripts/Makefile.build:131: arch/x86/um/user-offsets.s] Error 1
   make[1]: *** [arch/um/Makefile:152: arch/x86/um/user-offsets.s] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:146: sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +/foo +30 arch/x86/um/user-offsets.c

45db1c6176c817 arch/x86/um/user-offsets.c        H. Peter Anvin 2011-12-05  23  
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro        2005-05-05  24  #define DEFINE(sym, val) \
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro        2005-05-05  25  	asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro        2005-05-05  26  
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro        2005-09-28  27  #define DEFINE_LONGS(sym, val) \
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro        2005-09-28  28  	asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro        2005-09-28  29  
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro        2005-05-05 @30  void foo(void)

:::::: The code at line 30 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants

:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-07-02 12:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202207022055.ARalrDZa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=djkurtz@chromium.org \
    --cc=groeck@chromium.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sque@chromium.org \
    /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

all inboxes | Powered by JetHome®