From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [freescale-fslc:pr/325 10629/18355] drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1266:1: error: no previous prototype for function 'gckPPU_SetEVIS'
Date: Mon, 03 May 2021 05:21:31 +0800 [thread overview]
Message-ID: <202105030527.rR2eHTWw-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3473 bytes --]
Hi Ella,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/325
head: 2f748dbefdd0b68a450dbbbc6486901baea93b96
commit: 003e8f969b3267f44e94f0ee4f7167089bb0d800 [10629/18355] MGS-5531 [#imx-1868] Fix VIP Hang isse with HW reet
config: arm-randconfig-r016-20210502 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/Freescale/linux-fslc/commit/003e8f969b3267f44e94f0ee4f7167089bb0d800
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/325
git checkout 003e8f969b3267f44e94f0ee4f7167089bb0d800
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1266:1: error: no previous prototype for function 'gckPPU_SetEVIS' [-Werror,-Wmissing-prototypes]
gckPPU_SetEVIS(
^
drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
gceSTATUS
^
static
>> drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1590:1: error: no previous prototype for function 'gckPPU_SetTempReg' [-Werror,-Wmissing-prototypes]
gckPPU_SetTempReg(
^
drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1589:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
gceSTATUS
^
static
2 errors generated.
vim +/gckPPU_SetEVIS +1266 drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c
1264
1265 gceSTATUS
> 1266 gckPPU_SetEVIS(
1267 IN gctUINT32 Start,
1268 IN gctUINT32 End,
1269 IN gctUINT32 Evis,
1270 IN OUT gctUINT32_PTR Inst
1271 )
1272 {
1273 gceSTATUS status = gcvSTATUS_OK;
1274
1275 if (!Inst)
1276 {
1277 gcmkONERROR(gcvSTATUS_INVALID_ARGUMENT);
1278 }
1279
1280 Inst[0] = ((((gctUINT32) (Inst[0])) & ~(((gctUINT32) (((gctUINT32) ((((1 ?
1281 26:23) - (0 ?
1282 26:23) + 1) == 32) ?
1283 ~0U : (~(~0U << ((1 ?
1284 26:23) - (0 ?
1285 26:23) + 1))))))) << (0 ?
1286 26:23))) | (((gctUINT32) ((gctUINT32) (Start) & ((gctUINT32) ((((1 ?
1287 26:23) - (0 ?
1288 26:23) + 1) == 32) ?
1289 ~0U : (~(~0U << ((1 ? 26:23) - (0 ? 26:23) + 1))))))) << (0 ? 26:23)));
1290 Inst[0] = _SETBITS(Inst[0], 30, 27, End);
1291 Inst[1] = _SETBITS(Inst[1], 10, 2, Evis);
1292
1293 return gcvSTATUS_OK;
1294
1295 OnError:
1296 return status;
1297 }
1298
---
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: 27625 bytes --]
reply other threads:[~2021-05-02 21:21 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=202105030527.rR2eHTWw-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.