1. 12 Nov, 2022 2 commits
  2. 10 Nov, 2022 4 commits
  3. 09 Nov, 2022 2 commits
  4. 08 Nov, 2022 4 commits
  5. 07 Nov, 2022 3 commits
  6. 05 Nov, 2022 1 commit
  7. 04 Nov, 2022 2 commits
  8. 01 Nov, 2022 3 commits
  9. 31 Oct, 2022 4 commits
  10. 29 Oct, 2022 1 commit
  11. 28 Oct, 2022 3 commits
  12. 27 Oct, 2022 4 commits
  13. 26 Oct, 2022 4 commits
  14. 25 Oct, 2022 2 commits
    • Jason A. Donenfeld's avatar
      ALSA: rme9652: use explicitly signed char · 50895a55
      Jason A. Donenfeld authored
      With char becoming unsigned by default, and with `char` alone being
      ambiguous and based on architecture, signed chars need to be marked
      explicitly as such. This fixes warnings like:
      
      sound/pci/rme9652/hdsp.c:3953 hdsp_channel_buffer_location() warn: 'hdsp->channel_map[channel]' is unsigned
      sound/pci/rme9652/hdsp.c:4153 snd_hdsp_channel_info() warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)'
      sound/pci/rme9652/rme9652.c:1833 rme9652_channel_buffer_location() warn: 'rme9652->channel_map[channel]' is unsigned
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20221025000313.546261-1-Jason@zx2c4.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      50895a55
    • Jason A. Donenfeld's avatar
      ALSA: au88x0: use explicitly signed char · ee03c0f2
      Jason A. Donenfeld authored
      With char becoming unsigned by default, and with `char` alone being
      ambiguous and based on architecture, signed chars need to be marked
      explicitly as such. This fixes warnings like:
      
      sound/pci/au88x0/au88x0_core.c:2029 vortex_adb_checkinout() warn: signedness bug returning '(-22)'
      sound/pci/au88x0/au88x0_core.c:2046 vortex_adb_checkinout() warn: signedness bug returning '(-12)'
      sound/pci/au88x0/au88x0_core.c:2125 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsigned
      sound/pci/au88x0/au88x0_core.c:2170 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsigned
      
      As well, since one function returns errnos, return an `int` rather than
      a `signed char`.
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20221024162929.536004-1-Jason@zx2c4.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ee03c0f2
  15. 22 Oct, 2022 1 commit