]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Staging: vt6656: Make a read-only structure
authorMihaela Muraru <mihaela.muraru21@gmail.com>
Sat, 15 Oct 2016 21:55:22 +0000 (00:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 07:54:15 +0000 (09:54 +0200)
commitee705c3b938531992affc01d16bc32ccd5ee968c
tree1409464a3d79707d803c75cfbfbf074c6d7022cc
parentae719092fe1b7e147ab428903475b4b46ff79389
Staging: vt6656: 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.

Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c