diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-01-06 11:00:41 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-20 13:28:53 +0300 |
commit | fd82be6c0a359fc706a805a49b1f167af21e63ea (patch) | |
tree | f2a8a29ed69630ce0a36639e7a221d7c6a91de4e /arch/microblaze/lib | |
parent | e68cc603b063416c85f3e408184219fb71d4a9ff (diff) | |
download | linux-fd82be6c0a359fc706a805a49b1f167af21e63ea.tar.xz |
HID: roccat: Fix an error message when reading more data from bin attributes
Using cat or something to read from binary attributes would try to do an
additional read with offset equal to filesize. This resulted in an invalid
attribute error. This is fixed by giving the right answer instead of EINVAL.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/microblaze/lib')
0 files changed, 0 insertions, 0 deletions