projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
V4L/DVB (11260): v4l2-ioctl: Check format for S_PARM and G_PARM
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ieee1394
/
dv1394.c
diff --git
a/drivers/ieee1394/dv1394.c
b/drivers/ieee1394/dv1394.c
index 3838bc4acabac07b01b2c7b2488d07d825aa28ae..823a6297a1afb2241e398f401501d1ee57ad5429 100644
(file)
--- a/
drivers/ieee1394/dv1394.c
+++ b/
drivers/ieee1394/dv1394.c
@@
-1325,11
+1325,7
@@
static int dv1394_fasync(int fd, struct file *file, int on)
struct video_card *video = file_to_video_card(file);
struct video_card *video = file_to_video_card(file);
- int retval = fasync_helper(fd, file, on, &video->fasync);
-
- if (retval < 0)
- return retval;
- return 0;
+ return fasync_helper(fd, file, on, &video->fasync);
}
static ssize_t dv1394_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
}
static ssize_t dv1394_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
@@
-2175,7
+2171,7
@@
static const struct file_operations dv1394_fops=
* Export information about protocols/devices supported by this driver.
*/
#ifdef MODULE
* Export information about protocols/devices supported by this driver.
*/
#ifdef MODULE
-static struct ieee1394_device_id dv1394_id_table[] = {
+static
const
struct ieee1394_device_id dv1394_id_table[] = {
{
.match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION,
.specifier_id = AVC_UNIT_SPEC_ID_ENTRY & 0xffffff,
{
.match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION,
.specifier_id = AVC_UNIT_SPEC_ID_ENTRY & 0xffffff,