staging: wfx: ensure that traces never modify arguments
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:58 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:03 +0000 (15:56 +0100)
commit30cfffb776ec5aa5f3f51184ff08f83c06ecb321
treee5f0d68d36fb01878be79aa1c234dc1789d8c88d
parenteddd8585fb46db6fa701efc963a93477591cd736
staging: wfx: ensure that traces never modify arguments

There is no reason for a trace to change any bit of the argument. So,
let's make sure that is the case by declaring the arguments constant.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-22-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/traces.h