]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sc6000: Use explicit cast for __iomem pointer
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jul 2021 22:49:02 +0000 (00:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jul 2021 22:49:46 +0000 (00:49 +0200)
commite9fe73d1aceadabb3a36ac66765849b71422f6d5
tree9adf5529330ec7a54169aa17c8ef35aa0c2b9f70
parent74612b8ea050a7961fb0394429f00848671e0412
ALSA: sc6000: Use explicit cast for __iomem pointer

The recent optimization to store an iomem pointer in card's
private_data field caused sparse warnings.  Although they are
practically harmless, add the explicit cast for avoiding the spurious
warnings.

Fixes: bfc0714f2d42 ("ALSA: sc6000: Assign vport directly on card's private_data")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202107210511.SnFqlZMa-lkp@intel.com
Link: https://lore.kernel.org/r/20210720224902.7169-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sc6000.c