aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/v4l2-common.c4
-rw-r--r--drivers/media/video/videodev.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index bffe48275eb0..2b2c0b3a16ad 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -486,9 +486,9 @@ void v4l_printk_ioctl_arg(char *s,unsigned int cmd, void *arg)
486 prt_names(p->memory,v4l2_memory_names), 486 prt_names(p->memory,v4l2_memory_names),
487 p->m.userptr); 487 p->m.userptr);
488 printk ("%s: timecode= %02d:%02d:%02d type=%d, " 488 printk ("%s: timecode= %02d:%02d:%02d type=%d, "
489 "flags=0x%08x, frames=%d, userbits=0x%p\n", 489 "flags=0x%08x, frames=%d, userbits=0x%08x\n",
490 s,tc->hours,tc->minutes,tc->seconds, 490 s,tc->hours,tc->minutes,tc->seconds,
491 tc->type, tc->flags, tc->frames, tc->userbits); 491 tc->type, tc->flags, tc->frames, *(__u32 *) tc->userbits);
492 break; 492 break;
493 } 493 }
494 case VIDIOC_QUERYCAP: 494 case VIDIOC_QUERYCAP:
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index 311149b80e9f..43152297e6d5 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -323,7 +323,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd,
323 dbgarg2 ("timecode= %02d:%02d:%02d type=%d, " 323 dbgarg2 ("timecode= %02d:%02d:%02d type=%d, "
324 "flags=0x%08d, frames=%d, userbits=0x%08x\n", 324 "flags=0x%08d, frames=%d, userbits=0x%08x\n",
325 tc->hours,tc->minutes,tc->seconds, 325 tc->hours,tc->minutes,tc->seconds,
326 tc->type, tc->flags, tc->frames, (__u32) tc->userbits); 326 tc->type, tc->flags, tc->frames, *(__u32 *) tc->userbits);
327} 327}
328 328
329static inline void dbgrect(struct video_device *vfd, char *s, 329static inline void dbgrect(struct video_device *vfd, char *s,