tree: https://github.com/morimoto/linux sound2-v6.2-2022-11-16-v3 head: b8773ffd10be30f7dbb958d6733c85a86433f5fe commit: 77eee6da8db4f04317a24ff3272b9b7cab88c3f1 [40/42] hoge config: mips-randconfig-m041-20221127 compiler: mips-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot New smatch warnings: sound/soc/generic/simple-card-utils.c:508 asoc_simple_be_hw_params_fixup() warn: inconsistent indenting sound/soc/soc-pcm.c:1965 dpcm_be_dai_hw_params() warn: inconsistent indenting sound/soc/soc-dapm.c:4160 snd_soc_dapm_new_dai() warn: inconsistent indenting sound/soc/soc-dapm.c:4346 dapm_connect_dai_pair() warn: inconsistent indenting Old smatch warnings: sound/soc/soc-pcm.c:1970 dpcm_be_dai_hw_params() warn: inconsistent indenting sound/soc/soc-dapm.c:4389 dapm_connect_dai_pair() warn: inconsistent indenting vim +508 sound/soc/generic/simple-card-utils.c 498 499 int asoc_simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, 500 struct snd_pcm_hw_params *params) 501 { 502 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); 503 struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); 504 struct asoc_simple_data *data = &dai_props->adata; 505 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); 506 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); 507 > 508 printk("-----fixup i %d : %d\n", rtd->num, data->convert_rate); 509 510 if (data->convert_rate) 511 rate->min = 512 rate->max = data->convert_rate; 513 514 if (data->convert_channels) 515 channels->min = 516 channels->max = data->convert_channels; 517 518 if (data->convert_sample_format) 519 asoc_simple_fixup_sample_fmt(data, params); 520 521 return 0; 522 } 523 EXPORT_SYMBOL_GPL(asoc_simple_be_hw_params_fixup); 524 -- 0-DAY CI Kernel Test Service https://01.org/lkp