]> git.karo-electronics.de Git - linux-beck.git/commit
staging/mei: don't use read buffer for writing
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 6 Mar 2012 20:34:32 +0000 (22:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 21:45:42 +0000 (13:45 -0800)
commit97d5cb094cd2fb3e646b4a8cbc30445e61d62ef8
tree1e37239af571d627c25050108b9d30398b06d903
parente559895ae99fb99ecb91d5ad9e0b742ad881b341
staging/mei: don't use read buffer for writing

In mei_irq_thread_read_bus_message we reused mei_hdr
allocated on read buffer to write the stop message.
There is no bug associated with this but for code
clarity we use write buffer also for message header.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/interrupt.c