Skip to content

ALSA: usb: fcp: Fix sparse warnings

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: usb: fcp: Fix meter_levels type to __le32sound/usb/fcp.c+4 -40 replies
2/3ALSA: usb: fcp: Fix incorrect resp->opcode retrievalsound/usb/fcp.c+1 -10 replies
3/3ALSA: usb: fcp: Fix return code from poll opssound/usb/fcp.c+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0