All of lore.kernel.org
 help / color / mirror / Atom feed
* [superna9999:narmstrong/v5.12/it66121-dev 9/14] drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of function 'gpiod_set_value'
@ 2021-04-12 18:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-12 18:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3238 bytes --]

tree:   https://github.com/superna9999/linux narmstrong/v5.12/it66121-dev
head:   aefbe6420b44fb3e04b147e1db8e608bbec252c6
commit: ae611ce1b3d1e2e5832273977b7e0656b9600ed0 [9/14] drm: bridge: add it66121 driver
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.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/superna9999/linux/commit/ae611ce1b3d1e2e5832273977b7e0656b9600ed0
        git remote add superna9999 https://github.com/superna9999/linux
        git fetch --no-tags superna9999 narmstrong/v5.12/it66121-dev
        git checkout ae611ce1b3d1e2e5832273977b7e0656b9600ed0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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 >>):

   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/gpu/drm/bridge/ite-it66121.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with null pointer [-Wextra]
     174 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
         |                                                 ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON'
     137 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid'
     137 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/gpu/drm/bridge/ite-it66121.c: In function 'it66121_hw_reset':
>> drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
     242 |  gpiod_set_value(ctx->gpio_reset, 1);
         |  ^~~~~~~~~~~~~~~
   drivers/gpu/drm/bridge/ite-it66121.c: In function 'it66121_probe':
>> drivers/gpu/drm/bridge/ite-it66121.c:1016:16: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
    1016 |  revision_id = FIELD_GET(IT66121_REVISION_MASK, device_ids[1]);
         |                ^~~~~~~~~
         |                FOLL_GET
   cc1: some warnings being treated as errors


vim +/gpiod_set_value +242 drivers/gpu/drm/bridge/ite-it66121.c

   239	
   240	static void it66121_hw_reset(struct it66121_ctx *ctx)
   241	{
 > 242		gpiod_set_value(ctx->gpio_reset, 1);
   243		msleep(20);
   244		gpiod_set_value(ctx->gpio_reset, 0);
   245	}
   246	

---
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: 59834 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-12 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 18:07 [superna9999:narmstrong/v5.12/it66121-dev 9/14] drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of function 'gpiod_set_value' 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.