All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-rt-linux-6.1.y-cicd 2/6] drivers/media/i2c/ox05b1s.c:815:12: warning: 'ox05b_suspend' defined but not used
@ 2024-03-14 21:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-14 21:30 UTC (permalink / raw)
  To: Abhishek Sharma; +Cc: oe-kbuild-all, vigneshr, nm, Praneeth Bajjuri

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head:   871d5629a0ee4ae82d0caf8d57d4f711d54e1465
commit: baed438193a0f3edf9ddb5cd652b6ecb8cb1c3da [2/6] media: i2c: ox05b1s: add OmniVision OX05B1S driver
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240315/202403150528.b2dLCEFq-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240315/202403150528.b2dLCEFq-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403150528.b2dLCEFq-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/ox05b1s.c:815:12: warning: 'ox05b_suspend' defined but not used [-Wunused-function]
     815 | static int ox05b_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~
>> drivers/media/i2c/ox05b1s.c:806:12: warning: 'ox05b_resume' defined but not used [-Wunused-function]
     806 | static int ox05b_resume(struct device *dev)
         |            ^~~~~~~~~~~~


vim +/ox05b_suspend +815 drivers/media/i2c/ox05b1s.c

   805	
 > 806	static int ox05b_resume(struct device *dev)
   807	{
   808		struct i2c_client *client = to_i2c_client(dev);
   809		struct v4l2_subdev *sd = i2c_get_clientdata(client);
   810		struct ox05b *ox05b = to_ox05b(sd);
   811	
   812		return ox05b_power_on(ox05b);
   813	}
   814	
 > 815	static int ox05b_suspend(struct device *dev)
   816	{
   817		struct i2c_client *client = to_i2c_client(dev);
   818		struct v4l2_subdev *sd = i2c_get_clientdata(client);
   819		struct ox05b *ox05b = to_ox05b(sd);
   820	
   821		return ox05b_power_off(ox05b);
   822	}
   823	

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

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

only message in thread, other threads:[~2024-03-14 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 21:30 [ti:ti-rt-linux-6.1.y-cicd 2/6] drivers/media/i2c/ox05b1s.c:815:12: warning: 'ox05b_suspend' defined but not used 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.