From: kernel test robot <lkp@intel.com>
To: Paul Moore <paul@paul-moore.com>
Cc: oe-kbuild-all@lists.linux.dev, Amir Goldstein <amir73il@gmail.com>
Subject: [linux-next:master 6300/6828] fs/erofs/ishare.c:157:15: error: implicit declaration of function 'security_mmap_backing_file'
Date: Wed, 18 Mar 2026 06:29:43 +0800 [thread overview]
Message-ID: <202603180630.HWujluGX-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 8e5a478b6d6a5bb0a3d52147862b15e4d826af19
commit: 0e2baaf8fed0eba6ae83949b8bd317d808efd220 [6300/6828] lsm: add the security_mmap_backing_file() hook
config: i386-randconfig-003-20260317 (https://download.01.org/0day-ci/archive/20260318/202603180630.HWujluGX-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260318/202603180630.HWujluGX-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603180630.HWujluGX-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/erofs/ishare.c: In function 'erofs_ishare_mmap':
>> fs/erofs/ishare.c:157:15: error: implicit declaration of function 'security_mmap_backing_file' [-Wimplicit-function-declaration]
157 | err = security_mmap_backing_file(vma, realfile, file);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/security_mmap_backing_file +157 fs/erofs/ishare.c
149
150 static int erofs_ishare_mmap(struct file *file, struct vm_area_struct *vma)
151 {
152 struct file *realfile = file->private_data;
153 int err;
154
155 vma_set_file(vma, realfile);
156
> 157 err = security_mmap_backing_file(vma, realfile, file);
158 if (err)
159 return err;
160
161 return generic_file_readonly_mmap(file, vma);
162 }
163
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-03-17 22:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 22:29 kernel test robot [this message]
2026-03-17 22:44 ` [linux-next:master 6300/6828] fs/erofs/ishare.c:157:15: error: implicit declaration of function 'security_mmap_backing_file' Paul Moore
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=202603180630.HWujluGX-lkp@intel.com \
--to=lkp@intel.com \
--cc=amir73il@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paul@paul-moore.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.