tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 26e01a6fde2542bb020aa303787f8a57c49f5f37 commit: a463ea990d2138ca93027b006be96a0324b77fe4 [10537/11560] [media] ov2640: make GPIOLIB an optional dependency config: x86_64-randconfig-s1-04240509 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: git checkout a463ea990d2138ca93027b006be96a0324b77fe4 # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): drivers/media//i2c/ov2640.c: In function 'ov2640_s_power': >> drivers/media//i2c/ov2640.c:744: warning: unused variable 'priv' vim +/priv +744 drivers/media//i2c/ov2640.c 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 728 static int ov2640_s_register(struct v4l2_subdev *sd, 977ba3b1b drivers/media/i2c/soc_camera/ov2640.c Hans Verkuil 2013-03-24 729 const struct v4l2_dbg_register *reg) 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 730 { 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 731 struct i2c_client *client = v4l2_get_subdevdata(sd); 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 732 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 733 if (reg->reg > 0xff || 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 734 reg->val > 0xff) 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 735 return -EINVAL; 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 736 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 737 return i2c_smbus_write_byte_data(client, reg->reg, reg->val); 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 738 } 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 739 #endif 3153ac9c6 drivers/media/video/ov2640.c Alberto Panizzo 2010-12-02 740 4ec10bacd drivers/media/i2c/soc_camera/ov2640.c Laurent Pinchart 2012-07-20 741 static int ov2640_s_power(struct v4l2_subdev *sd, int on) 4ec10bacd drivers/media/i2c/soc_camera/ov2640.c Laurent Pinchart 2012-07-20 742 { 4ec10bacd drivers/media/i2c/soc_camera/ov2640.c Laurent Pinchart 2012-07-20 743 struct i2c_client *client = v4l2_get_subdevdata(sd); 9aea470b3 drivers/media/i2c/soc_camera/ov2640.c Guennadi Liakhovetski 2012-12-21 @744 struct ov2640_priv *priv = to_ov2640(client); 4ec10bacd drivers/media/i2c/soc_camera/ov2640.c Laurent Pinchart 2012-07-20 745 a463ea990 drivers/media/i2c/ov2640.c Mauro Carvalho Chehab 2017-04-19 746 #ifdef CONFIG_GPIOLIB a463ea990 drivers/media/i2c/ov2640.c Mauro Carvalho Chehab 2017-04-19 747 if (priv->pwdn_gpio) 34aa88790 drivers/media/i2c/ov2640.c Hans Verkuil 2016-11-22 748 gpiod_direction_output(priv->pwdn_gpio, !on); 34aa88790 drivers/media/i2c/ov2640.c Hans Verkuil 2016-11-22 749 if (on && priv->resetb_gpio) { 34aa88790 drivers/media/i2c/ov2640.c Hans Verkuil 2016-11-22 750 /* Active the resetb pin to perform a reset pulse */ 34aa88790 drivers/media/i2c/ov2640.c Hans Verkuil 2016-11-22 751 gpiod_direction_output(priv->resetb_gpio, 1); 34aa88790 drivers/media/i2c/ov2640.c Hans Verkuil 2016-11-22 752 usleep_range(3000, 5000); :::::: The code at line 744 was first introduced by commit :::::: 9aea470b399d797e88be08985c489855759c6c60 [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk :::::: TO: Guennadi Liakhovetski <g.liakhovetski@xxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip