diff options
author | Michael Hunold <devnull@localhost> | 2003-10-09 10:06:10 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-10-09 10:06:10 +0000 |
commit | 42dd92758db3261aba3da6f42db85857b459335c (patch) | |
tree | ae8a70a2d3bb32574c62da47f967e50f78c7863b /linux/drivers/media/dvb/ttusb-budget | |
parent | 9347dffcaf23cf01055c0d6020787336aa546bef (diff) | |
download | mediapointer-dvb-s2-42dd92758db3261aba3da6f42db85857b459335c.tar.gz mediapointer-dvb-s2-42dd92758db3261aba3da6f42db85857b459335c.tar.bz2 |
- backfeed patches from 2.6.0-test7, which have not gone through our cvs:
- janitorial fixes (mostly return code handling)
- spelling fixes in Kconfig files
- line breaks to re-formatting
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-budget')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 5d2df02a6..0e22927c0 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -1056,7 +1056,8 @@ static ssize_t stc_read(struct file *file, char *buf, size_t count, if (tc < 0) return 0; - copy_to_user(buf, stc_firmware + *offset, tc); + if (copy_to_user(buf, stc_firmware + *offset, tc)) + return -EFAULT; *offset += tc; |