Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114095
b: refs/heads/master
c: 82d7669
h: refs/heads/master
i:
  114093: fd066b7
  114091: 63a0f32
  114087: cf97573
  114079: 0975d6d
v: v3
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 13, 2008
1 parent dc1f243 commit aec1f01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5cefa82ce31b14574947e570d638a6d58225338
refs/heads/master: 82d7669dc3c0e795c24111fed88e9d5d70f209e0
3 changes: 1 addition & 2 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,7 @@ void dtv_property_dump(struct dtv_property *tvp)
{
int i;

if( (tvp->cmd <= 0 || tvp->cmd > DTV_DELIVERY_SYSTEM) &&
tvp->cmd != DTV_API_VERSION) {
if (tvp->cmd <= 0 || tvp->cmd > DTV_MAX_COMMAND) {
printk("%s: tvp.cmd = 0x%08x (undefined/unknown/invalid)\n",
__func__, tvp->cmd);
return;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/dvb/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ struct dvb_frontend_event {

#define DTV_API_VERSION 35

#define DTV_MAX_COMMAND DTV_API_VERSION

typedef enum fe_pilot {
PILOT_ON,
PILOT_OFF,
Expand Down

0 comments on commit aec1f01

Please sign in to comment.