From: Rohit Kumar Date: Thu, 15 Mar 2018 19:38:59 +0000 (+0530) Subject: drivers:staging:android:ashmem: Changing return type from int to loff_t X-Git-Tag: v4.19~1302^2~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44f689367282cef1220c1571b44a8f85129f6148;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 86580b6..a1a0025 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);