[sailus-media-tree:devel 46/46] drivers/platform/x86/intel/int3472/discrete.c:138: warning: Function parameter or struct member 'int3472_reset_gpio_map' not described in 'int3472_reset_gpio_map'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/sailus/media_tree.git devel
head:   c3af137975ac5de4479d2f019acb74db0b36a26e
commit: c3af137975ac5de4479d2f019acb74db0b36a26e [46/46] platform/x86: int3472: Call "reset" GPIO "enable" for INT347E
config: i386-buildonly-randconfig-002-20250122 (https://download.01.org/0day-ci/archive/20250122/202501221858.1YHNirHd-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250122/202501221858.1YHNirHd-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501221858.1YHNirHd-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/intel/int3472/discrete.c:138: warning: Function parameter or struct member 'int3472_reset_gpio_map' not described in 'int3472_reset_gpio_map'


vim +138 drivers/platform/x86/intel/int3472/discrete.c

   124	
   125	/**
   126	 * struct int3472_reset_gpio_map - Map "reset" GPIO to whatever is expected by
   127	 * the sensor driver (as in DT bindings)
   128	 * @devname: The name of the device without the instance number e.g. i2c-INT347E
   129	 * @func: The function, e.g. "enable"
   130	 * @polarity: GPIO_ACTIVE_{HIGH,LOW}
   131	 */
   132	static const struct int3472_reset_gpio_map {
   133		const char *devname;
   134		const char *func;
   135		unsigned int polarity;
   136	} int3472_reset_gpio_map[] = {
   137		{ "i2c-INT347E", "enable", GPIO_ACTIVE_HIGH },
 > 138	};
   139	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux