OSDN Git Service

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)
commitf976e8a941763d37cddb365a755b27bbcf5de72e
tree9adf5529330ec7a54169aa17c8ef35aa0c2b9f70
parentd364a600d6ed9cd78744031a36627d21a6deaefd
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: 9b7843d1e125 ("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