]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: Intel: hda: clarify operator precedence
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 4 Mar 2022 20:57:33 +0000 (14:57 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:12:55 +0000 (13:12 +0000)
commit0f33105bb2f77c870542d5bc08cf94b8c4e26f36
tree614dfc48ceea7018f9360a8ad6b9e867e78bdc8d
parent9188812539d1d9a13dac690c95ec657259859ba4
ASoC: SOF: Intel: hda: clarify operator precedence

cppcheck warning

sound/soc/sof/intel/hda.c:545:46: style: Clarify calculation
precedence for '&' and '?'. [clarifyCalculation]
 char *level = flags & SOF_DBG_DUMP_OPTIONAL ? KERN_DEBUG : KERN_ERR;

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220304205733.62233-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c