1. 26 1月, 2011 1 次提交
  2. 25 1月, 2011 1 次提交
    • A
      ALSA: azt3328 - fix broken AZF_FMT_XLATE macro · c9ba374d
      Andreas Mohr 提交于
      Cleanly revert to non-macro implementation of
      snd_azf3328_codec_setfmt(), to fix last-minute functionality breakage
      induced by following checkpatch.pl recommendations without giving them
      their due full share of thought ("revolting computer, ensuing PEBKAC").
      
      I would like to thank Jiri Slaby for his very timely (in -rc1 even)
      and unexpected (uncommon hardware) "recognition of the dangerous situation"
      due to his very commendable static parser use. :)
      Reported-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NAndreas Mohr <andi@lisas.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c9ba374d
  3. 23 1月, 2011 1 次提交
    • J
      ALSA: Xonar, CS43xx: Don't overrun static array · 233d84c4
      Jesper Juhl 提交于
      'cs4398_regs' in 'struct xonar_cs43xx' is an array of 'u8' with a size of
      8. So, this code in sound/pci/oxygen/xonar_cs43xx.c::dump_d1_registers()
      
          		for (i = 2; i <= 8; ++i)
      	  			snd_iprintf(buffer, " %02x", data->cs4398_regs[i]);
      
      will overrun the array when 'i == 8'.
      
      I guess that what's needed to fix it is the trivial patch below, but I
      must admit that I have no idea about this code, so I may very well be
      wrong. Additionally, I have no way to actually test this, so all I know is
      that the below compiles. Someone who actually knows this code should take
      a look before anything is comitted - consider the below (not much more
      than) a bug report.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Acked-by: Clemens Ladisch <clemens@ladisch.de
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      233d84c4
  4. 21 1月, 2011 2 次提交
  5. 20 1月, 2011 4 次提交
  6. 19 1月, 2011 31 次提交