* [freescale-fslc:5.10-2.1.x-imx 13121/14523] drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:4953:34: warning: unused variable 'imx_epdc_dt_ids'
@ 2021-09-28 7:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-28 7:40 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 7186 bytes --]
tree: https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: c317bdc1b553e455225d2469992d3ac3c3a301b3
commit: 54afb73e27b624db97f55baee1b45800db182cd0 [13121/14523] LF-4159-3 video: epdc: add support for imx8ulp
config: x86_64-randconfig-c007-20210927 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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/54afb73e27b624db97f55baee1b45800db182cd0
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 54afb73e27b624db97f55baee1b45800db182cd0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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 >>):
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:812:15: warning: variable 'ext_temp' is uninitialized when used here [-Wuninitialized]
ext_temp = ext_temp >> 8;
^~~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:807:23: note: initialize the variable 'ext_temp' to silence this warning
unsigned int ext_temp, ext_temp_index = temp;
^
= 0
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:990:35: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare]
(__raw_readl(EPDC_STATUS_LUTS2) != ~0UL))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:4686:7: warning: variable 'upd_buf_ptr' set but not used [-Wunused-but-set-variable]
u32 *upd_buf_ptr;
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:6014:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
DMA_TO_DEVICE,
^~~~~~~~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:6195:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
DMA_TO_DEVICE,
^~~~~~~~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:6332:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
DMA_TO_DEVICE,
^~~~~~~~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:6480:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
DMA_TO_DEVICE,
^~~~~~~~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:6677:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
DMA_TO_DEVICE,
^~~~~~~~~~~~~
In file included from drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:31:
include/linux/pxp_dma.h:58:12: warning: unused function 'register_pxp_device' [-Wunused-function]
static int register_pxp_device(void) { return 0; }
^
include/linux/pxp_dma.h:59:13: warning: unused function 'unregister_pxp_device' [-Wunused-function]
static void unregister_pxp_device(void) {}
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:1028:20: warning: unused function 'epdc_reset_used_lut' [-Wunused-function]
static inline void epdc_reset_used_lut(void)
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:726:20: warning: unused function 'dump_pxp_config' [-Wunused-function]
static inline void dump_pxp_config(struct mxc_epdc_fb_data *fb_data,
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:729:20: warning: unused function 'dump_update_data' [-Wunused-function]
static inline void dump_update_data(struct device *dev,
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:731:20: warning: unused function 'dump_collision_list' [-Wunused-function]
static inline void dump_collision_list(struct mxc_epdc_fb_data *fb_data) {}
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:732:20: warning: unused function 'dump_free_list' [-Wunused-function]
static inline void dump_free_list(struct mxc_epdc_fb_data *fb_data) {}
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:733:20: warning: unused function 'dump_queue' [-Wunused-function]
static inline void dump_queue(struct mxc_epdc_fb_data *fb_data) {}
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:734:20: warning: unused function 'dump_all_updates' [-Wunused-function]
static inline void dump_all_updates(struct mxc_epdc_fb_data *fb_data) {}
^
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:1015:19: warning: unused function 'epdc_get_next_lut' [-Wunused-function]
static inline int epdc_get_next_lut(void)
^
>> drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:4953:34: warning: unused variable 'imx_epdc_dt_ids' [-Wunused-const-variable]
static const struct of_device_id imx_epdc_dt_ids[] = {
^
19 warnings generated.
vim +/imx_epdc_dt_ids +4953 drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c
7a85fd4c966b93ed Robby Cai 2019-08-21 4952
7a85fd4c966b93ed Robby Cai 2019-08-21 @4953 static const struct of_device_id imx_epdc_dt_ids[] = {
7a85fd4c966b93ed Robby Cai 2019-08-21 4954 { .compatible = "fsl,imx7d-epdc", },
7a85fd4c966b93ed Robby Cai 2019-08-21 4955 { /* sentinel */ }
7a85fd4c966b93ed Robby Cai 2019-08-21 4956 };
7a85fd4c966b93ed Robby Cai 2019-08-21 4957 MODULE_DEVICE_TABLE(of, imx_epdc_dt_ids);
7a85fd4c966b93ed Robby Cai 2019-08-21 4958
:::::: The code at line 4953 was first introduced by commit
:::::: 7a85fd4c966b93ed26e1ce152b3476246e9959dc video: epdc: add epdc driver
:::::: TO: Robby Cai <robby.cai@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29732 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-28 7:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 7:40 [freescale-fslc:5.10-2.1.x-imx 13121/14523] drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c:4953:34: warning: unused variable 'imx_epdc_dt_ids' 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.