From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [mark:arm64/uaccess/rework 12/19] arch/arm64/mm/extable.c:65:6: warning: no previous prototype for function 'ex_handler_luz'
Date: Sat, 9 Oct 2021 09:28:40 +0800 [thread overview]
Message-ID: <202110090912.jA7qXKkq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3217 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/uaccess/rework
head: 692de878f919de31942d0d28571b5e6f32c7135e
commit: c4b57def6a878f04d1b72cecabfb9734ebd643f4 [12/19] arm64: use fixup handler for load_unaligned_zeropad()
config: arm64-randconfig-r003-20211008 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 8ed2e8e04ff42eb4d8009999ae1fd341a30bf6c0)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=c4b57def6a878f04d1b72cecabfb9734ebd643f4
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/uaccess/rework
git checkout c4b57def6a878f04d1b72cecabfb9734ebd643f4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
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/arm64/mm/extable.c:43:6: warning: no previous prototype for function 'ex_handler_fixup' [-Wmissing-prototypes]
bool ex_handler_fixup(const struct exception_table_entry *ex,
^
arch/arm64/mm/extable.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool ex_handler_fixup(const struct exception_table_entry *ex,
^
static
arch/arm64/mm/extable.c:51:6: warning: no previous prototype for function 'ex_handler_efault_zero' [-Wmissing-prototypes]
bool ex_handler_efault_zero(const struct exception_table_entry *ex,
^
arch/arm64/mm/extable.c:51:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool ex_handler_efault_zero(const struct exception_table_entry *ex,
^
static
>> arch/arm64/mm/extable.c:65:6: warning: no previous prototype for function 'ex_handler_luz' [-Wmissing-prototypes]
bool ex_handler_luz(const struct exception_table_entry *ex,
^
arch/arm64/mm/extable.c:65:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool ex_handler_luz(const struct exception_table_entry *ex,
^
static
3 warnings generated.
vim +/ex_handler_luz +65 arch/arm64/mm/extable.c
64
> 65 bool ex_handler_luz(const struct exception_table_entry *ex,
66 struct pt_regs *regs)
67 {
68 int reg_data = FIELD_GET(EX_DATA_REG_DATA, ex->data);
69 int reg_addr = FIELD_GET(EX_DATA_REG_ADDR, ex->data);
70 unsigned long data, addr, offset;
71
72 addr = pt_regs_read_reg(regs, reg_addr);
73
74 offset = addr & 0x7UL;
75 addr &= ~0x7UL;
76
77 data = *(unsigned long*)addr;
78
---
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: 43660 bytes --]
reply other threads:[~2021-10-09 1:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202110090912.jA7qXKkq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@arm.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®