qcacmn: Use default seek for memdump lseek

Kernel change d4455fa 'proc: mandate ->proc_lseek in "struct proc_ops"'
by default use proc_lseek for file operations without any check, so add
default_llseek for all proc ops.

Change-Id: Ia72839cf09ec721fb98f50793b19ec082478d8d7
CRs-Fixed: 3201003
This commit is contained in:
Kai Liu
2022-05-19 20:34:39 +08:00
committad av Madan Koyyalamudi
förälder bec69b91fe
incheckning f744f6a4e7

Visa fil

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -81,6 +82,7 @@ static const struct proc_ops pktlog_fops = {
.proc_open = pktlog_open,
.proc_release = pktlog_release,
.proc_read = pktlog_read,
.proc_lseek = default_llseek,
};
#else
static struct file_operations pktlog_fops = {