OSDN Git Service

ALSA: via82xx: Fix endianness annotations
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Feb 2020 16:31:50 +0000 (17:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:25:07 +0000 (08:25 +0100)
commitc5bb086741c1f5cf05630dab7318433b71abb1f1
tree13f83fd1b438dd0214945a47440a63dac3777008
parentadf615a605017089c8948f393087080e1b61b114
ALSA: via82xx: Fix endianness annotations

The internal page tables are in little endian, hence they should be
__le32 type.  This fixes the relevant sparse warnings:
  sound/pci/via82xx.c:454:60: warning: incorrect type in assignment (different base types)
  sound/pci/via82xx.c:454:60:    expected unsigned int [usertype]
  sound/pci/via82xx.c:454:60:    got restricted __le32 [usertype]
  ....

No functional changes, just sparse warning fixes.

Link: https://lore.kernel.org/r/20200206163152.6073-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/via82xx.c
sound/pci/via82xx_modem.c