diff options
| author | Tomas Winkler <[email protected]> | 2013-09-02 00:11:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-09-26 15:23:01 +0000 |
| commit | dd5de1f165ade430357960459491a067c7e3d21c (patch) | |
| tree | 456a28f27a8945b1025325cc2cf76a59b257c616 /drivers/misc/ibmasm/module.c | |
| parent | mei: fix format compilation warrning on 32 bit architecture (diff) | |
| download | kernel-dd5de1f165ade430357960459491a067c7e3d21c.tar.gz kernel-dd5de1f165ade430357960459491a067c7e3d21c.zip | |
mei: revamp read and write length checks
1. Return zero on zero length read and writes
2. For a too large write return -EFBIG as defined in man write(2)
EFBIG An attempt was made to write a file that
exceeds the implementation-defined maximum
file size or the process's file size limit,
or to write at a position past the maximum
allowed offset.
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions
