diff options
author | Mihaela Muraru | 2016-10-17 16:20:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-10-24 15:33:27 +0200 |
commit | a0f204a4f79d09a102315a67e1ba27de9fea6c8a (patch) | |
tree | 63498c844d568c9603cc5c0222db35c9111b01c4 /drivers/staging/vt6656 | |
parent | staging: android: Remove unnecessary parentheses. (diff) | |
download | kernel-qcow2-linux-a0f204a4f79d09a102315a67e1ba27de9fea6c8a.tar.gz kernel-qcow2-linux-a0f204a4f79d09a102315a67e1ba27de9fea6c8a.tar.xz kernel-qcow2-linux-a0f204a4f79d09a102315a67e1ba27de9fea6c8a.zip |
Staging: android: ion: Make a read-only structure
This patch add const qualifier at the declaration of the structure.
The structure become a read-only data, this increase the security.
Found with Coccinelle:
@r disable optional_qualifier@
identifier s,i;
@@
* static struct s i ={...};
Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
0 files changed, 0 insertions, 0 deletions