mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Maninder Singh <maninder1.s@samsung.com>
Cc: kbuild-all@01.org, akpm@linux-foundation.org, dvyukov@google.com,
	chris@chris-wilson.co.uk, linux-kernel@vger.kernel.org,
	pankaj.m@samsung.com, a.sahrawat@samsung.com,
	Maninder Singh <maninder1.s@samsung.com>,
	Vaneet Narang <v.narang@samsung.com>
Subject: Re: [PATCH 1/1] stackdepot: ignore junk last entry in case of switch from user mode.
Date: Sat, 14 Oct 2017 16:38:32 +0800	[thread overview]
Message-ID: <201710141602.YjJt4MNd%fengguang.wu@intel.com> (raw)
In-Reply-To: <1507721070-16810-1-git-send-email-maninder1.s@samsung.com>

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

Hi Maninder,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc4 next-20171013]
[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/Maninder-Singh/stackdepot-ignore-junk-last-entry-in-case-of-switch-from-user-mode/20171014-153544
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   lib/stackdepot.c: In function 'depot_save_stack':
>> lib/stackdepot.c:217:46: error: 'MODULES_VADDR' undeclared (first use in this function)
     if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) {
                                                 ^
   lib/stackdepot.c:217:46: note: each undeclared identifier is reported only once for each function it appears in

vim +/MODULES_VADDR +217 lib/stackdepot.c

   196	
   197	/**
   198	 * depot_save_stack - save stack in a stack depot.
   199	 * @trace - the stacktrace to save.
   200	 * @alloc_flags - flags for allocating additional memory if required.
   201	 *
   202	 * Returns the handle of the stack struct stored in depot.
   203	 */
   204	depot_stack_handle_t depot_save_stack(struct stack_trace *trace,
   205					    gfp_t alloc_flags)
   206	{
   207		u32 hash;
   208		depot_stack_handle_t retval = 0;
   209		struct stack_record *found = NULL, **bucket;
   210		unsigned long flags;
   211		struct page *page = NULL;
   212		void *prealloc = NULL;
   213	
   214		if (unlikely(trace->nr_entries == 0))
   215			goto fast_exit;
   216	
 > 217		if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) {

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

      parent reply	other threads:[~2017-10-14  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20171011112606epcas5p2ff2b1b64d5037aeb5e0f97c9d17b8658@epcas5p2.samsung.com>
2017-10-11 11:24 ` Maninder Singh
2017-10-11 11:31   ` Dmitry Vyukov
2017-10-11 11:32     ` Dmitry Vyukov
2017-10-14  8:38   ` kbuild 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=201710141602.YjJt4MNd%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=a.sahrawat@samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=dvyukov@google.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maninder1.s@samsung.com \
    --cc=pankaj.m@samsung.com \
    --cc=v.narang@samsung.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

all inboxes | Powered by JetHome®