]> 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)
commitda4c54b2f5f7c554bbc48394dac39de3a59b1f61
tree9adf5529330ec7a54169aa17c8ef35aa0c2b9f70
parent51e42d606639c08870544e9928b59c84fa2dede8
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: 7991e90f199b ("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