CC: [email protected] In-Reply-To: <37252c65941e58473b1219ca9fab03d48f47e3e3.1591610330.git.mirq-li...@rere.qmqm.pl> References: <37252c65941e58473b1219ca9fab03d48f47e3e3.1591610330.git.mirq-li...@rere.qmqm.pl> TO: "Michał Mirosław" <[email protected]> TO: Jaroslav Kysela <[email protected]> TO: Takashi Iwai <[email protected]> CC: [email protected] CC: [email protected]
Hi "Michał, I love your patch! Perhaps something to improve: [auto build test WARNING on sound/for-next] [also build test WARNING on v5.7 next-20200605] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Micha-Miros-aw/ALSA-pcm-stream-linking-locking-fixes/20200608-180855 base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago config: i386-randconfig-s002-20200607 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.1-247-gcadbd124-dirty # save the attached .config to linux build tree make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock >> sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in >> 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block # https://github.com/0day-ci/linux/commit/eef77d8ea6b8ad8fede8a917de0ccefc31e0bd7d git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout eef77d8ea6b8ad8fede8a917de0ccefc31e0bd7d vim +/snd_pcm_stream_lock_nested +145 sound/core/pcm_native.c 7af142f752116e Takashi Iwai 2014-09-01 140 eef77d8ea6b8ad Michał Mirosław 2020-06-08 141 static void snd_pcm_stream_lock_nested(struct snd_pcm_substream *substream) eef77d8ea6b8ad Michał Mirosław 2020-06-08 142 { eef77d8ea6b8ad Michał Mirosław 2020-06-08 143 struct snd_pcm_group *group = &substream->self_group; eef77d8ea6b8ad Michał Mirosław 2020-06-08 144 eef77d8ea6b8ad Michał Mirosław 2020-06-08 @145 if (substream->pcm->nonatomic) eef77d8ea6b8ad Michał Mirosław 2020-06-08 146 mutex_lock_nested(&group->mutex, SINGLE_DEPTH_NESTING); eef77d8ea6b8ad Michał Mirosław 2020-06-08 147 else eef77d8ea6b8ad Michał Mirosław 2020-06-08 148 spin_lock_nested(&group->lock, SINGLE_DEPTH_NESTING); eef77d8ea6b8ad Michał Mirosław 2020-06-08 149 } eef77d8ea6b8ad Michał Mirosław 2020-06-08 150 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
