summaryrefslogtreecommitdiff
path: root/crypto/crypto_null.c
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2011-01-06 11:00:41 +0300
committerJiri Kosina <jkosina@suse.cz>2011-01-20 13:28:53 +0300
commitfd82be6c0a359fc706a805a49b1f167af21e63ea (patch)
treef2a8a29ed69630ce0a36639e7a221d7c6a91de4e /crypto/crypto_null.c
parente68cc603b063416c85f3e408184219fb71d4a9ff (diff)
downloadlinux-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 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions