diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-05-22 17:21:14 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-24 09:23:58 +0300 |
commit | a900705491e6f377966711aa95df753b5ae16dd3 (patch) | |
tree | 02ae73213b38a6cf58757233822f8ae35ce8484e /sound/firewire/bebob | |
parent | 12e0f438d312fd40815249198ec1e4f3abddacc5 (diff) | |
download | linux-a900705491e6f377966711aa95df753b5ae16dd3.tar.xz |
ALSA: firewire-lib: use protocol error when detecting wrong value in CIP header
When detecting zero in 'dbs' field of CIP header, this packet streaming
should be aborted because of avoiding division-by-zero. This is an error
in an aspect of IEC 61883-1, thus protocol error.
This commit use EPROTO instead of EIO. Actually, the returned value is
not used for userspace and this commit has no effect.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob')
0 files changed, 0 insertions, 0 deletions