fs: devfs: Change .lseek callbacks to return 'int'
Returning requested offset from .lseek() callback doesn't really give
us any new information while bringing unnecessary
complications. Change all .lseek() types (both in struct struct
cdev_operations and in struct fs_driver_d) to return 'int' and adjust
the rest of the codebase accordingly.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5c94085 commit 0b80e3dae75c32e5f30bf4d9052d4f390cc0bb6e
@Andrey Smirnov Andrey Smirnov authored on 29 Jan 2019
Sascha Hauer committed on 4 Feb 2019
Showing 14 changed files
View
drivers/mtd/nand/nand-bb.c
View
drivers/mtd/ubi/barebox.c
View
fs/bpkfs.c
View
fs/devfs.c
View
fs/efi.c
View
fs/fat/fat.c
View
fs/fs.c
View
fs/nfs.c
View
fs/pstore/fs.c
View
fs/smhfs.c
View
fs/tftp.c
View
fs/uimagefs.c
View
include/driver.h
View
include/fs.h