diff options
author | 2020-06-29 17:09:11 +0200 | |
---|---|---|
committer | 2020-07-01 15:47:04 +0200 | |
commit | b74a8932dff818f5ff83101c8088a307a8f2eeda (patch) | |
tree | 32f04bf84caeb3b02ea701af41fb976bbbd95095 /mm | |
parent | staging: vchi: Unify struct shim_service and struct vchi_service_handle (diff) | |
download | linux-b74a8932dff818f5ff83101c8088a307a8f2eeda.tar.gz linux-b74a8932dff818f5ff83101c8088a307a8f2eeda.tar.bz2 linux-b74a8932dff818f5ff83101c8088a307a8f2eeda.zip |
staging: vc04_services: bcm2835-audio: Use vchi_msg_hold()
vchi_msg_dequeue() provides the same functionality as vchi_msg_hold()
except it copies the message data as opposed to the later which provides
the data in place.
The copying is done on a local variable, so there is no need to keep the
message out the function's bounds, so use vchi_msg_hold() instead.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-14-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions