LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jun Miao <jun.miao@windriver.com>, shuah@kernel.org
Cc: kbuild-all@lists.01.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, jun.miao@windriver.com
Subject: Re: [V2][PATCH] selftests/x86: Fix error: variably modified 'altstack_data' at file scope
Date: Tue, 24 Aug 2021 06:48:10 +0800	[thread overview]
Message-ID: <202108240612.SioeBq9N-lkp@intel.com> (raw)
In-Reply-To: <20210823135626.3926364-1-jun.miao@windriver.com>

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

Hi Jun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on kselftest/next]
[also build test ERROR on v5.14-rc7 next-20210823]
[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]

url:    https://github.com/0day-ci/linux/commits/Jun-Miao/selftests-x86-Fix-error-variably-modified-altstack_data-at-file-scope/20210823-215819
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/3752736483bd2f09d350c5d3a42460d74ea9c53a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jun-Miao/selftests-x86-Fix-error-variably-modified-altstack_data-at-file-scope/20210823-215819
        git checkout 3752736483bd2f09d350c5d3a42460d74ea9c53a
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash -C tools/testing/selftests install

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

All errors (new ones prefixed by >>):

   single_step_syscall.c: In function 'main':
>> single_step_syscall.c:230:7: error: 'stack' undeclared (first use in this function); did you mean 'stack_t'?
     230 |  free(stack.ss_sp);
         |       ^~~~~
         |       stack_t
   single_step_syscall.c:230:7: note: each undeclared identifier is reported only once for each function it appears in
--
   mov_ss_trap.c: In function 'main':
>> mov_ss_trap.c:284:7: error: 'stack' undeclared (first use in this function); did you mean 'obstack'?
     284 |  free(stack.ss_sp);
         |       ^~~~~
         |       obstack
   mov_ss_trap.c:284:7: note: each undeclared identifier is reported only once for each function it appears in

---
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: 42150 bytes --]

      parent reply	other threads:[~2021-08-23 22:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23 13:56 Jun Miao
2021-08-23 20:29 ` Shuah Khan
2021-08-23 22:48 ` kernel test robot [this message]

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=202108240612.SioeBq9N-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jun.miao@windriver.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=shuah@kernel.org \
    --subject='Re: [V2][PATCH] selftests/x86: Fix error: variably modified '\''altstack_data'\'' at file scope' \
    /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

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).