]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: fix resource_size.cocci warnings
authorkbuild test robot <lkp@intel.com>
Tue, 24 Jan 2017 15:41:46 +0000 (23:41 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jan 2017 13:25:37 +0000 (14:25 +0100)
commit8c57b50d6f8ab7f5f04c6efa0d6a7b75943944cc
treeeef736aefe88df900e0984326898078d4f5a2f05
parenta725c01dc354faf87e4814ffede3145b8fb09f07
ALSA: x86: fix resource_size.cocci warnings

sound/x86/intel_hdmi_lpe_audio.c:498:24-27: ERROR: Missing resource_size with res_mmio

 Use resource_size function on resource object
 instead of explicit computation.

Generated by: scripts/coccinelle/api/resource_size.cocci

CC: Jerome Anand <jerome.anand@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_lpe_audio.c