All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: kbuild-all@01.org, Tony Battersby <tonyb@cybernetics.com>,
	Hugh Dickins <hughd@google.com>,
	linux-mm@kvack.org
Subject: Re: [PATCH] ipc/shm: fix crash if CONFIG_SHMEM is not set
Date: Wed, 7 Sep 2016 22:28:56 +0800	[thread overview]
Message-ID: <201609072221.M7OSrgbL%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160907111452.GA138665@black.fi.intel.com>

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

Hi Kirill,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc5 next-20160907]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/ipc-shm-fix-crash-if-CONFIG_SHMEM-is-not-set/20160907-204216
config: sh-rsk7201_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   ipc/shm.c: In function 'shm_get_unmapped_area':
>> ipc/shm.c:477:25: error: 'struct mm_struct' has no member named 'get_unmapped_area'
      get_area = current->mm->get_unmapped_area;
                            ^

vim +477 ipc/shm.c

   471				unsigned long, unsigned long);
   472		struct shm_file_data *sfd = shm_file_data(file);
   473	
   474		if (sfd->file->f_op->get_unmapped_area)
   475			get_area = sfd->file->f_op->get_unmapped_area;
   476		else
 > 477			get_area = current->mm->get_unmapped_area;
   478		return get_area(sfd->file, addr, len, pgoff, flags);
   479	}
   480	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 7738 bytes --]

  parent reply	other threads:[~2016-09-07 14:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 17:52 regression: lk 4.8 + !CONFIG_SHMEM + shmat() = oops Tony Battersby
2016-09-07 11:14 ` Kirill A. Shutemov
2016-09-07 14:08   ` Tony Battersby
2016-09-07 14:28   ` kbuild test robot [this message]
2016-09-07 16:33     ` [PATCH] ipc/shm: fix crash if CONFIG_SHMEM is not set Kirill A. Shutemov
2016-09-07 18:57       ` Tony Battersby

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=201609072221.M7OSrgbL%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hughd@google.com \
    --cc=kbuild-all@01.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=tonyb@cybernetics.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 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.