Staging: ipack/devices/ipoctal: fix oops when accessing "buffer"
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 25 Jun 2012 15:15:44 +0000 (17:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jun 2012 17:50:00 +0000 (10:50 -0700)
commitdb1db294d9366e95a76f4ca7e6442240eba67a0a
tree856cda00dc309ea902a525b1e033dd984db38987
parent7756d3e8b0acff580aab1f60c30e066e20a9900e
Staging: ipack/devices/ipoctal: fix oops when accessing "buffer"

The buffer[][] field was replaced by tty_port->xmit_buf field but there was
some places that "buffer" was still accessed, giving a kernel oops because
it was uninitialized.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/devices/ipoctal.c