* [freescale-fslc:5.10-2.1.x-imx 11466/15840] drivers/dma/pxp/pxp_dma_v3.c:1120:66: warning: cast to pointer from integer of different size
@ 2021-12-02 16:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-02 16:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 9367 bytes --]
Hi Guoniu.zhou,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: c0604ebbd45934a2c42df8382b674244d1963fa2
commit: a07f432792aafa352bd843afa0c1dd739bfe73a7 [11466/15840] MLK-25591-05: dma: pxp_v3: fix warning for data type mismatch issue
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211203/202112030000.XjoH8hex-lkp(a)intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.0
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
# https://github.com/Freescale/linux-fslc/commit/a07f432792aafa352bd843afa0c1dd739bfe73a7
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.10-2.1.x-imx
git checkout a07f432792aafa352bd843afa0c1dd739bfe73a7
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/android/ drivers/dma/pxp/ drivers/mfd/ drivers/staging/fsl_qbman/ drivers/video/fbdev/mxc/
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 >>):
In file included from include/linux/printk.h:409,
from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/dma-mapping.h:7,
from drivers/dma/pxp/pxp_dma_v3.c:12:
drivers/dma/pxp/pxp_dma_v3.c: In function 'print_param':
>> drivers/dma/pxp/pxp_dma_v3.c:1120:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1120 | p->top, p->left, p->width, p->height, p->stride, (void *)p->paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:1119:9: note: in expansion of macro 'pr_debug'
1119 | pr_debug("%s: t/l/w/h/s %d/%d/%d/%d/%d, addr %p\n", s,
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c: In function 'pxp_2d_op_handler':
drivers/dma/pxp/pxp_dma_v3.c:3493:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
3493 | __func__, (void *)input_s0->paddr, (void *)input_s1->paddr, (void *)output->paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3492:17: note: in expansion of macro 'pr_debug'
3492 | pr_debug("%s: s0 paddr = 0x%p, s1 paddr = 0x%p, out paddr = 0x%p\n",
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3493:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
3493 | __func__, (void *)input_s0->paddr, (void *)input_s1->paddr, (void *)output->paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3492:17: note: in expansion of macro 'pr_debug'
3492 | pr_debug("%s: s0 paddr = 0x%p, s1 paddr = 0x%p, out paddr = 0x%p\n",
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3493:86: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
3493 | __func__, (void *)input_s0->paddr, (void *)input_s1->paddr, (void *)output->paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3492:17: note: in expansion of macro 'pr_debug'
3492 | pr_debug("%s: s0 paddr = 0x%p, s1 paddr = 0x%p, out paddr = 0x%p\n",
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c: In function '__pxpdma_dostart':
drivers/dma/pxp/pxp_dma_v3.c:3913:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
3913 | (void *)pxp->pxp_conf_state.s0_param.paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3910:9: note: in expansion of macro 'pr_debug'
3910 | pr_debug("%s:%d S0 w/h %d/%d paddr %p\n", __func__, __LINE__,
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3923:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
3923 | (void *)pxp->pxp_conf_state.out_param.paddr);
| ^
include/linux/dynamic_debug.h:129:29: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
424 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c:3920:9: note: in expansion of macro 'pr_debug'
3920 | pr_debug("%s:%d OUT w/h %d/%d paddr %p\n", __func__, __LINE__,
| ^~~~~~~~
drivers/dma/pxp/pxp_dma_v3.c: At top level:
drivers/dma/pxp/pxp_dma_v3.c:6676:6: warning: no previous prototype for 'pxp_get_collision_info' [-Wmissing-prototypes]
6676 | void pxp_get_collision_info(struct pxp_collision_info *info)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +1120 drivers/dma/pxp/pxp_dma_v3.c
1116
1117 static void print_param(struct pxp_layer_param *p, char *s)
1118 {
1119 pr_debug("%s: t/l/w/h/s %d/%d/%d/%d/%d, addr %p\n", s,
> 1120 p->top, p->left, p->width, p->height, p->stride, (void *)p->paddr);
1121 }
1122
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-02 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02 16:13 [freescale-fslc:5.10-2.1.x-imx 11466/15840] drivers/dma/pxp/pxp_dma_v3.c:1120:66: warning: cast to pointer from integer of different size kernel test robot
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.