diff options
author | Mihaela Muraru <mihaela.muraru21@gmail.com> | 2016-10-17 17:20:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-24 15:33:27 +0200 |
commit | a0f204a4f79d09a102315a67e1ba27de9fea6c8a (patch) | |
tree | 63498c844d568c9603cc5c0222db35c9111b01c4 /drivers/staging/vt6656 | |
parent | 9fdd532c51ce9c8f08fea329e74ec8021568b97b (diff) |
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