staging: wfx: ensure that received hif messages are never modified
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:59 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:04 +0000 (15:56 +0100)
commit36f7e3acaac6be7da831b9a0c31022954f79216d
tree12c07ba954778155f0dacc60c5d3ac7924de5db8
parent30cfffb776ec5aa5f3f51184ff08f83c06ecb321
staging: wfx: ensure that received hif messages are never modified

There are no real reason to modify the data received from device. So,
let's mark the arguments constant.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-23-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_rx.c
drivers/staging/wfx/data_rx.h
drivers/staging/wfx/data_tx.c
drivers/staging/wfx/data_tx.h
drivers/staging/wfx/hif_rx.c
drivers/staging/wfx/scan.c
drivers/staging/wfx/scan.h
drivers/staging/wfx/secure_link.h
drivers/staging/wfx/sta.c
drivers/staging/wfx/sta.h