From: kernel test robot <lkp@intel.com>
To: Abhishek Sharma <abhishek.sharma@ti.com>
Cc: oe-kbuild-all@lists.linux.dev, vigneshr@ti.com, nm@ti.com,
Praneeth Bajjuri <praneeth@ti.com>
Subject: [ti:ti-rt-linux-6.1.y-cicd 2/6] drivers/media/i2c/ox05b1s.c:815:12: warning: 'ox05b_suspend' defined but not used
Date: Fri, 15 Mar 2024 05:30:50 +0800 [thread overview]
Message-ID: <202403150528.b2dLCEFq-lkp@intel.com> (raw)
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
reply other threads:[~2024-03-14 21:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202403150528.b2dLCEFq-lkp@intel.com \
--to=lkp@intel.com \
--cc=abhishek.sharma@ti.com \
--cc=nm@ti.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=praneeth@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.