mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
security/selinux: constify function pointer tables and fields
Constify function pointer tables and fields. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
63cb344923
commit
1996a10948
3 changed files with 4 additions and 4 deletions
|
@ -2300,7 +2300,7 @@ static inline struct dentry *securityfs_create_file(const char *name,
|
|||
mode_t mode,
|
||||
struct dentry *parent,
|
||||
void *data,
|
||||
struct file_operations *fops)
|
||||
const struct file_operations *fops)
|
||||
{
|
||||
return ERR_PTR(-ENODEV);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue