All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Stefan Dösinger " <stefandoesinger@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [stefandoesinger-zx297520:dlink 60/130] drivers/rpmsg/zx29_smd.c:130:13: warning: 'zx29_smd_release_device' defined but not used
Date: Tue, 28 Jul 2026 13:48:38 +0800	[thread overview]
Message-ID: <202607281337.O6FGBykU-lkp@intel.com> (raw)

tree:   https://gitlab.com/stefandoesinger/zx297520-kernel dlink
head:   3d8eb1c72ad9937912307a2d4f3de812b572b9b3
commit: 486c263f0e7ecd325e530c4fe8d876755f8f8988 [60/130] rpmsg v1
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20260728/202607281337.O6FGBykU-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260728/202607281337.O6FGBykU-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/202607281337.O6FGBykU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/rpmsg/zx29_smd.c: In function 'zx29_smd_trysend':
   drivers/rpmsg/zx29_smd.c:98:31: warning: unused variable 'zx29_ept' [-Wunused-variable]
      98 |         struct zx29_endpoint *zx29_ept = to_zx29_rpmsg_endpoint(ept);
         |                               ^~~~~~~~
   drivers/rpmsg/zx29_smd.c: In function 'zx29_smd_probe':
   drivers/rpmsg/zx29_smd.c:147:22: warning: unused variable 'i' [-Wunused-variable]
     147 |         unsigned int i;
         |                      ^
   drivers/rpmsg/zx29_smd.c: At top level:
>> drivers/rpmsg/zx29_smd.c:130:13: warning: 'zx29_smd_release_device' defined but not used [-Wunused-function]
     130 | static void zx29_smd_release_device(struct device *dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~


vim +/zx29_smd_release_device +130 drivers/rpmsg/zx29_smd.c

   129	
 > 130	static void zx29_smd_release_device(struct device *dev)
   131	{
   132		dev_info(dev, "zx29_smd_release_device\n");
   133	}
   134	

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

                 reply	other threads:[~2026-07-28  5:48 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=202607281337.O6FGBykU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=stefandoesinger@gmail.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.