mbox series

[0/3] ALSA: usb: fcp: Fix sparse warnings

Message ID 20250121170032.7236-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: usb: fcp: Fix sparse warnings | expand

Message

Takashi Iwai Jan. 21, 2025, 5 p.m. UTC
We got a few sparse warnings, and this patchset addresses those.

sound/usb/fcp.c:267:17: warning: cast to restricted __le16
sound/usb/fcp.c:267:17: warning: cast from restricted __le32
sound/usb/fcp.c:415:43: warning: cast to restricted __le32
sound/usb/fcp.c:890:22: warning: incorrect type in assignment (different base types)
sound/usb/fcp.c:890:22:    expected restricted __poll_t ( *poll )( ... )
sound/usb/fcp.c:890:22:    got unsigned int ( * )( ... )


Takashi

===

Takashi Iwai (3):
  ALSA: usb: fcp: Fix meter_levels type to __le32
  ALSA: usb: fcp: Fix incorrect resp->opcode retrieval
  ALSA: usb: fcp: Fix return code from poll ops

 sound/usb/fcp.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)