All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/x86/entry/vdso/vma.c:32:19: warning: no previous prototype for 'arch_get_vdso_data'
Date: Tue, 28 Sep 2021 09:05:25 +0800	[thread overview]
Message-ID: <202109280904.fzeCqdMe-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 64b302ab66c5965702693e79690823ca120288b9 x86/vdso: Provide vdso_data offset on vvar_page
date:   1 year, 8 months ago
config: i386-randconfig-r036-20210927 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64b302ab66c5965702693e79690823ca120288b9
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 64b302ab66c5965702693e79690823ca120288b9
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> arch/x86/entry/vdso/vma.c:32:19: warning: no previous prototype for 'arch_get_vdso_data' [-Wmissing-prototypes]
      32 | struct vdso_data *arch_get_vdso_data(void *vvar_page)
         |                   ^~~~~~~~~~~~~~~~~~


vim +/arch_get_vdso_data +32 arch/x86/entry/vdso/vma.c

    31	
  > 32	struct vdso_data *arch_get_vdso_data(void *vvar_page)
    33	{
    34		return (struct vdso_data *)(vvar_page + _vdso_data_offset);
    35	}
    36	#undef EMIT_VVAR
    37	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dmitry Safonov <dima@arista.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Andrei Vagin <avagin@openvz.org>
Subject: arch/x86/entry/vdso/vma.c:32:19: warning: no previous prototype for 'arch_get_vdso_data'
Date: Tue, 28 Sep 2021 09:05:25 +0800	[thread overview]
Message-ID: <202109280904.fzeCqdMe-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 64b302ab66c5965702693e79690823ca120288b9 x86/vdso: Provide vdso_data offset on vvar_page
date:   1 year, 8 months ago
config: i386-randconfig-r036-20210927 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64b302ab66c5965702693e79690823ca120288b9
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 64b302ab66c5965702693e79690823ca120288b9
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> arch/x86/entry/vdso/vma.c:32:19: warning: no previous prototype for 'arch_get_vdso_data' [-Wmissing-prototypes]
      32 | struct vdso_data *arch_get_vdso_data(void *vvar_page)
         |                   ^~~~~~~~~~~~~~~~~~


vim +/arch_get_vdso_data +32 arch/x86/entry/vdso/vma.c

    31	
  > 32	struct vdso_data *arch_get_vdso_data(void *vvar_page)
    33	{
    34		return (struct vdso_data *)(vvar_page + _vdso_data_offset);
    35	}
    36	#undef EMIT_VVAR
    37	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

             reply	other threads:[~2021-09-28  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  1:05 kernel test robot [this message]
2021-09-28  1:05 ` arch/x86/entry/vdso/vma.c:32:19: warning: no previous prototype for 'arch_get_vdso_data' kernel test robot

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=202109280904.fzeCqdMe-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.