01 Nov, 2010

3 commits

  • converts a 1 bit signed bitfield to an unsigned.

    Reported-by: Dr. David Alan Gilbert
    Signed-off-by: Tim Blechmann
    Signed-off-by: Takashi Iwai

    Tim Blechmann
     
  • When reading through sound/pci/cs46xx/dsp_spos.c I noticed a couple of
    things in cs46xx_dsp_spos_create().

    It seems to me that we don't always free the various memory buffers we
    allocate and we also do some work (structure member assignment) early,
    that is completely pointless if some of the memory allocations fail and
    we end up just aborting the whole thing.

    I don't have hardware to test, so the patch below is compile tested only,
    but it makes the following changes:

    - Make sure we always free all allocated memory on failures.
    - Don't do pointless work assigning to structure members before we know
    all memory allocations, that may abort progress, have completed
    successfully.
    - Remove some trailing whitespace.

    Signed-off-by: Jesper Juhl
    Tested-by: Ondrej Zary
    Signed-off-by: Takashi Iwai

    Jesper Juhl
     
  • sound/usb/pcm.c::snd_usb_pcm_check_knot() fails to check the return value
    from kmalloc() and may end up dereferencing a null pointer.
    The patch below (compile tested only) should take care of that little
    problem.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Takashi Iwai

    Jesper Juhl
     

27 Oct, 2010

6 commits


26 Oct, 2010

1 commit


25 Oct, 2010

4 commits


24 Oct, 2010

1 commit


23 Oct, 2010

9 commits


22 Oct, 2010

5 commits


21 Oct, 2010

10 commits


20 Oct, 2010

1 commit