aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-06 07:27:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:54:00 -0400
commit3920d6b34d7f6d4e81773b6bbd93d53c167b048f (patch)
tree406aabd158546573f5cdc76ab1cdf06b3344049a /drivers/media/video
parentfb661a78699ad34c385a014fe0d17226234f8496 (diff)
[media] altera-ci.c: fix compiler warnings
drivers/media/video/cx23885/altera-ci.c: In function 'altera_hw_filt_init': drivers/media/video/cx23885/altera-ci.c:671:2: warning: cast from pointer to integer of different size drivers/media/video/cx23885/altera-ci.c: In function 'altera_ci_init': drivers/media/video/cx23885/altera-ci.c:739:2: warning: cast from pointer to integer of different size Use %p instead of 0x%x to print addresses. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx23885/altera-ci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx23885/altera-ci.c b/drivers/media/video/cx23885/altera-ci.c
index ad6cc68d4b0c..4269e053830c 100644
--- a/drivers/media/video/cx23885/altera-ci.c
+++ b/drivers/media/video/cx23885/altera-ci.c
@@ -668,8 +668,8 @@ int altera_hw_filt_init(struct altera_ci_config *config, int hw_filt_nr)
668 ci_dbg_print("%s: Create New Internal Structure!\n", __func__); 668 ci_dbg_print("%s: Create New Internal Structure!\n", __func__);
669 } 669 }
670 670
671 ci_dbg_print("%s: setting hw pid filter = 0x%x for ci = %d\n", __func__, 671 ci_dbg_print("%s: setting hw pid filter = %p for ci = %d\n", __func__,
672 (int)pid_filt, hw_filt_nr - 1); 672 pid_filt, hw_filt_nr - 1);
673 inter->pid_filt[hw_filt_nr - 1] = pid_filt; 673 inter->pid_filt[hw_filt_nr - 1] = pid_filt;
674 pid_filt->demux = config->demux; 674 pid_filt->demux = config->demux;
675 pid_filt->internal = inter; 675 pid_filt->internal = inter;
@@ -736,8 +736,8 @@ int altera_ci_init(struct altera_ci_config *config, int ci_nr)
736 ci_dbg_print("%s: Create New Internal Structure!\n", __func__); 736 ci_dbg_print("%s: Create New Internal Structure!\n", __func__);
737 } 737 }
738 738
739 ci_dbg_print("%s: setting state = 0x%x for ci = %d\n", __func__, 739 ci_dbg_print("%s: setting state = %p for ci = %d\n", __func__,
740 (int)state, ci_nr - 1); 740 state, ci_nr - 1);
741 inter->state[ci_nr - 1] = state; 741 inter->state[ci_nr - 1] = state;
742 state->internal = inter; 742 state->internal = inter;
743 state->nr = ci_nr - 1; 743 state->nr = ci_nr - 1;