V4L/DVB (12755): af9015: improve usb control message function slightly
authorAntti Palosaari <crope@iki.fi>
Sat, 12 Sep 2009 23:46:30 +0000 (20:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 02:47:53 +0000 (23:47 -0300)
* 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.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found