diff options
author | Chris Lund <docmax@gmail.com> | 2006-06-03 13:58:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:16 -0700 |
commit | bfd5df3c0cf65bdf10a3a00baff036cb096140f6 (patch) | |
tree | 3b7835253e0b1f03bc42e323fe3988ee407c0e11 /include/asm-ppc/ans-lcd.h | |
parent | 14f76cc7ab75b1c9db036dcd6b247e0dcc8952be (diff) | |
download | blackbird-op-linux-bfd5df3c0cf65bdf10a3a00baff036cb096140f6.tar.gz blackbird-op-linux-bfd5df3c0cf65bdf10a3a00baff036cb096140f6.zip |
[PATCH] USB: free allocated memory on io_edgeport startup memory failure
While an Edgeport is allocating individual port structures, if kmalloc
returns NULL, the serial structure is freed and -ENOMEM, but the ports
allocated before the failure are not freed. This patch addresses that
condition.
Signed-off-by: Christopher Lund <docmax@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-ppc/ans-lcd.h')
0 files changed, 0 insertions, 0 deletions