Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114093
b: refs/heads/master
c: 4aae8ef
h: refs/heads/master
i:
  114091: 63a0f32
v: v3
  • Loading branch information
Darron Broad authored and Mauro Carvalho Chehab committed Oct 13, 2008
1 parent a145b32 commit fd066b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01a8f038c07c4119029c63f1ed1c6ac986665d48
refs/heads/master: 4aae8efb4908fa3f80dc1177d093443bc09adf5f
7 changes: 7 additions & 0 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,13 @@ void dtv_property_dump(struct dtv_property *tvp)
{
int i;

if( (tvp->cmd <= 0 || tvp->cmd > DTV_DELIVERY_SYSTEM) &&
tvp->cmd != DTV_API_VERSION) {
printk("%s: tvp.cmd = 0x%08x (undefined/unknown/invalid)\n",
__func__, tvp->cmd);
return;
}

printk("%s() tvp.cmd = 0x%08x (%s)\n"
,__FUNCTION__
,tvp->cmd
Expand Down

0 comments on commit fd066b7

Please sign in to comment.