-
- Downloads
fs: fix kernel_read prototype
Use proper ssize_t and size_t types for the return value and count argument, move the offset last and make it an in/out argument like all other read/write helpers, and make the buf argument a void pointer to get rid of lots of casts in the callers. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- arch/mips/kernel/elf.c 4 additions, 8 deletionsarch/mips/kernel/elf.c
- arch/x86/ia32/ia32_aout.c 2 additions, 2 deletionsarch/x86/ia32/ia32_aout.c
- drivers/media/pci/cx25821/cx25821-audio-upstream.c 5 additions, 8 deletionsdrivers/media/pci/cx25821/cx25821-audio-upstream.c
- drivers/mtd/nand/nandsim.c 1 addition, 1 deletiondrivers/mtd/nand/nandsim.c
- fs/binfmt_aout.c 2 additions, 1 deletionfs/binfmt_aout.c
- fs/binfmt_elf.c 13 additions, 10 deletionsfs/binfmt_elf.c
- fs/binfmt_elf_fdpic.c 9 additions, 8 deletionsfs/binfmt_elf_fdpic.c
- fs/binfmt_flat.c 5 additions, 13 deletionsfs/binfmt_flat.c
- fs/binfmt_misc.c 4 additions, 1 deletionfs/binfmt_misc.c
- fs/coda/dir.c 3 additions, 2 deletionsfs/coda/dir.c
- fs/ecryptfs/read_write.c 1 addition, 1 deletionfs/ecryptfs/read_write.c
- fs/exec.c 3 additions, 4 deletionsfs/exec.c
- fs/read_write.c 3 additions, 5 deletionsfs/read_write.c
- include/linux/fs.h 1 addition, 1 deletioninclude/linux/fs.h
- kernel/sysctl_binary.c 8 additions, 4 deletionskernel/sysctl_binary.c
- net/9p/trans_fd.c 3 additions, 1 deletionnet/9p/trans_fd.c
- security/keys/big_key.c 2 additions, 1 deletionsecurity/keys/big_key.c
Loading
Please register or sign in to comment