Skip to content

Commit

Permalink
V4L/DVB (9179): S2API: frontend.h cleanup
Browse files Browse the repository at this point in the history
Reviewing the code briefly and saw this.
You can't change more than DTV_IOCTL_MAX_MSGS at once, not 16.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Brandon Philips authored and Mauro Carvalho Chehab committed Oct 13, 2008
1 parent 8953db7 commit cc7d705
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/dvb/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,14 +328,14 @@ struct dtv_property {
int result;
} __attribute__ ((packed));

/* No more than 16 properties during any given ioctl */
/* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
#define DTV_IOCTL_MAX_MSGS 64

struct dtv_properties {
__u32 num;
struct dtv_property *props;
};

#define DTV_IOCTL_MAX_MSGS 64

#define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)

Expand Down

0 comments on commit cc7d705

Please sign in to comment.