Skip to content
Permalink
Browse files
staging: android: ashmem: Declared file operation with const keyword
warning found by checkpatch.pl script.

Signed-off-by: ratnesh-r1 <me.ratnesh682@gmail.com>
  • Loading branch information
ratnesh-r1 authored and intel-lab-lkp committed Jan 24, 2022
1 parent fa78315 commit c24fe2afe4abdf6436628abd13a0109ec420f373
Showing 1 changed file with 1 addition and 1 deletion.
@@ -377,7 +377,7 @@ ashmem_vmfile_get_unmapped_area(struct file *file, unsigned long addr,

static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
{
static struct file_operations vmfile_fops;
static const struct file_operations vmfile_fops;
struct ashmem_area *asma = file->private_data;
int ret = 0;

0 comments on commit c24fe2a

Please sign in to comment.