diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-05-26 22:35:45 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-06-20 21:28:16 -0500 |
commit | 57c8ce7ab3fc2ac894d4a0f26776fbd7a5fd48bc (patch) | |
tree | 4935c060adc04e4229f52d1a5670913bc19762fa /ipc | |
parent | a23a71abca941fdbac32e504c6d78cf99c6df70f (diff) | |
download | linux-57c8ce7ab3fc2ac894d4a0f26776fbd7a5fd48bc.tar.gz linux-57c8ce7ab3fc2ac894d4a0f26776fbd7a5fd48bc.tar.bz2 linux-57c8ce7ab3fc2ac894d4a0f26776fbd7a5fd48bc.zip |
cifs: Constify static struct genl_ops
The only usage of cifs_genl_ops[] is to assign its address to the ops
field in the genl_family struct, which is a pointer to const. Make it
const to allow the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions