From: kernel test robot <lkp@intel.com>
To: Fei Li <fei1.li@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
wenlingz <wenling.zhang@intel.com>
Subject: [acrn:acrn_6.1.80 31/33] drivers/virt/acrn/hvlog.c:127:13: error: expected parameter declarator
Date: Sun, 28 Jul 2024 14:33:01 +0800 [thread overview]
Message-ID: <202407281427.SHTjTbz4-lkp@intel.com> (raw)
tree: https://github.com/projectacrn/acrn-kernel acrn_6.1.80
head: 51b9a968e5ab57edbc20ecf1740ab54fd4f97ce0
commit: f528146c92c545c17a21206b87e70c7087247f88 [31/33] virt: acrn: add acrn hypervisor log back
config: x86_64-randconfig-001-20240728 (https://download.01.org/0day-ci/archive/20240728/202407281427.SHTjTbz4-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240728/202407281427.SHTjTbz4-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/202407281427.SHTjTbz4-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/virt/acrn/hvlog.c:127:13: error: expected parameter declarator
127 | early_param("hvlog", early_hvlog);
| ^
>> drivers/virt/acrn/hvlog.c:127:13: error: expected ')'
drivers/virt/acrn/hvlog.c:127:12: note: to match this '('
127 | early_param("hvlog", early_hvlog);
| ^
>> drivers/virt/acrn/hvlog.c:127:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
127 | early_param("hvlog", early_hvlog);
| ^
| int
>> drivers/virt/acrn/hvlog.c:127:12: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
127 | early_param("hvlog", early_hvlog);
| ^
| void
4 errors generated.
vim +127 drivers/virt/acrn/hvlog.c
103
104 static int __init early_hvlog(char *p)
105 {
106 int ret;
107
108 pr_debug("%s(%s)\n", __func__, p);
109 hvlog_buf_size = memparse(p, &p);
110 if (*p != '@')
111 return 0;
112 hvlog_buf_phyaddr_base = memparse(p + 1, &p);
113
114 if (!!hvlog_buf_phyaddr_base && !!hvlog_buf_size) {
115 ret = memblock_reserve(hvlog_buf_phyaddr_base, hvlog_buf_size);
116 if (ret) {
117 pr_err("%s: Error reserving hvlog memblock\n",
118 __func__);
119 hvlog_buf_phyaddr_base = 0;
120 hvlog_buf_size = 0;
121 return ret;
122 }
123 }
124
125 return 0;
126 }
> 127 early_param("hvlog", early_hvlog);
128
129
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-07-28 6:33 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=202407281427.SHTjTbz4-lkp@intel.com \
--to=lkp@intel.com \
--cc=fei1.li@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wenling.zhang@intel.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