]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: nvec: Export nvec_msg_free() to clients
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:00:58 +0000 (19:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:36 +0000 (17:41 -0700)
commit198dd26714ba4a60ccc5ce70bc4506613b4f0c2d
tree52c5b0053a6c806d2552a7a7229b22c2a49eacb4
parent391d2fa95c8e5e5ad3b06af235ce4aeae6514966
staging: nvec: Export nvec_msg_free() to clients

Client code wishing to make use of nvec_write_sync() must
have a way to free the returned pointer, otherwise we run
out of poool memory fairly soon.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec.h