public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Prasad Kumpatla <quic_pkumpatl@quicinc.com>,
	srinivas.kandagatla@linaro.org, krzysztof.kozlowski@linaro.org,
	broonie@kernel.org, agross@kernel.org, andersson@kernel.org,
	quic_plai@quicinc.com, quic_rohkumar@quicinc.com,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	quic_phaniu@quicinc.com, quic_avangala@quicinc.com
Cc: oe-kbuild-all@lists.linux.dev,
	Prasad Kumpatla <quic_pkumpatl@quicinc.com>,
	Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Subject: Re: [PATCH v1] ASoC: codecs: wcd937x: Add wcd937x codec driver
Date: Wed, 6 Dec 2023 08:50:36 +0800	[thread overview]
Message-ID: <202312060830.GFAdSK3t-lkp@intel.com> (raw)
In-Reply-To: <20231205123400.6353-1-quic_pkumpatl@quicinc.com>

Hi Prasad,

kernel test robot noticed the following build warnings:

[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on linus/master v6.7-rc4 next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Prasad-Kumpatla/ASoC-codecs-wcd937x-Add-wcd937x-codec-driver/20231205-203631
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20231205123400.6353-1-quic_pkumpatl%40quicinc.com
patch subject: [PATCH v1] ASoC: codecs: wcd937x: Add wcd937x codec driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20231206/202312060830.GFAdSK3t-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060830.GFAdSK3t-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/202312060830.GFAdSK3t-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/wcd937x-sdw.c:1117:12: warning: 'wcd937x_sdw_runtime_resume' defined but not used [-Wunused-function]
    1117 | static int wcd937x_sdw_runtime_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/wcd937x-sdw.c:1105:12: warning: 'wcd937x_sdw_runtime_suspend' defined but not used [-Wunused-function]
    1105 | static int wcd937x_sdw_runtime_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/wcd937x_sdw_runtime_resume +1117 sound/soc/codecs/wcd937x-sdw.c

  1104	
> 1105	static int wcd937x_sdw_runtime_suspend(struct device *dev)
  1106	{
  1107		struct wcd937x_sdw_priv *wcd = dev_get_drvdata(dev);
  1108	
  1109		if (wcd->regmap) {
  1110			regcache_cache_only(wcd->regmap, true);
  1111			regcache_mark_dirty(wcd->regmap);
  1112		}
  1113	
  1114		return 0;
  1115	}
  1116	
> 1117	static int wcd937x_sdw_runtime_resume(struct device *dev)
  1118	{
  1119		struct wcd937x_sdw_priv *wcd = dev_get_drvdata(dev);
  1120	
  1121		if (wcd->regmap) {
  1122			regcache_cache_only(wcd->regmap, false);
  1123			regcache_sync(wcd->regmap);
  1124		}
  1125	
  1126		pm_runtime_mark_last_busy(dev);
  1127	
  1128		return 0;
  1129	}
  1130	

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

  parent reply	other threads:[~2023-12-06  0:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 12:34 [PATCH v1] ASoC: codecs: wcd937x: Add wcd937x codec driver Prasad Kumpatla
2023-12-05 13:37 ` Krzysztof Kozlowski
2023-12-05 21:56 ` kernel test robot
2023-12-06  0:50 ` kernel test robot [this message]
2023-12-06 16:21 ` kernel test robot

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=202312060830.GFAdSK3t-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agross@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=quic_avangala@quicinc.com \
    --cc=quic_mohs@quicinc.com \
    --cc=quic_phaniu@quicinc.com \
    --cc=quic_pkumpatl@quicinc.com \
    --cc=quic_plai@quicinc.com \
    --cc=quic_rohkumar@quicinc.com \
    --cc=srinivas.kandagatla@linaro.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox