Hi Neil,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc7 next-20210412]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Neil-Armstrong/drm-bridge-Add-it...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
d434405aaab7d0ebc516b68a8fc4100922d7f5ef
config: arc-randconfig-r024-20210413 (attached as .config)
compiler: arc-elf-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/0day-ci/linux/commit/d86794bbe14422dfc00873eacf1eaae12...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Neil-Armstrong/drm-bridge-Add-it66121-driver/20210412-234852
git checkout d86794bbe14422dfc00873eacf1eaae121c34255
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
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@lists.01.org