diff options
author | Antti Palosaari <crope@iki.fi> | 2009-09-13 02:46:30 +0300 |
---|---|---|
committer | Antti Palosaari <crope@iki.fi> | 2009-09-13 02:46:30 +0300 |
commit | f919ed55d0ece48afb66100dce56494c346879c5 (patch) | |
tree | 2d5a7a9c910445df096188452754be4412102f41 /linux/drivers/media/dvb/dvb-usb/dvb-usb-init.c | |
parent | ff680464a0d27db7be8755753e6b52bfa03d0035 (diff) | |
download | mediapointer-dvb-s2-f919ed55d0ece48afb66100dce56494c346879c5.tar.gz mediapointer-dvb-s2-f919ed55d0ece48afb66100dce56494c346879c5.tar.bz2 |
af9015: improve usb control message function slightly
From: Antti Palosaari <crope@iki.fi>
* define names for few values
* decrease buffer len by one byte which was not used
* add check for buffer overflow for sure
* indentation fixes
* remove useless 0 len check from memcpy
It should not happen and if it happens memcpy should not do anything.
Priority: normal
Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dvb-usb-init.c')
0 files changed, 0 insertions, 0 deletions