diff options
author | Rohit Kumar <rohit12techie@gmail.com> | 2018-03-16 01:08:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 19:43:24 +0100 |
commit | 44f689367282cef1220c1571b44a8f85129f6148 (patch) | |
tree | dd25073f1b61d8b18dbe9790c6d32ac2eeef8aa3 /drivers/staging/android | |
parent | staging: android: ion: Update wording in drivers/staging/android/ion/Kconfig (diff) | |
download | linux-dev-44f689367282cef1220c1571b44a8f85129f6148.tar.xz linux-dev-44f689367282cef1220c1571b44a8f85129f6148.zip |
drivers:staging:android:ashmem: Changing return type from int to loff_t
Changing return type from int to loff_t. Actual return type of the
function (vfs_llseek) is loff_t (long long). Here due to implicit
converion from long long to int, result will be implementation defined.
Signed-off-by: Rohit Kumar <rohit12techie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/ashmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 86580b6df33d..a1a0025b59e0 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android/ashmem.c @@ -321,7 +321,7 @@ out_unlock: static loff_t ashmem_llseek(struct file *file, loff_t offset, int origin) { struct ashmem_area *asma = file->private_data; - int ret; + loff_t ret; mutex_lock(&ashmem_mutex); |