summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-13 12:17:57 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-13 12:17:57 -0800
commitdb080b80dc7ef5a60a798ae11c496c6b7d7b0541 (patch)
tree2915c642fd44521af846bc180a793b951ee954ec
parentccb490b3dcccde6e283ec0da6ee92dc0728ed661 (diff)
parent97b96558bd58b462b74d7bf42bca332921220d99 (diff)
Merge "msm: dvb: demux: compilation error fix for 32 bit version"
-rw-r--r--drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_common.c b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_common.c
index a0195ac400f8..0188637af85c 100644
--- a/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_common.c
+++ b/drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_common.c
@@ -928,7 +928,7 @@ static int mpq_map_buffer_to_kernel(
MPQ_DVB_DBG_PRINT("%s: secured buffer\n", __func__);
*kernel_mem = NULL;
} else {
- unsigned long tmp;
+ size_t tmp;
*kernel_mem = ion_map_kernel(client, ion_handle);
if (IS_ERR_OR_NULL(*kernel_mem)) {
ret = PTR_ERR(*kernel_mem);
@@ -940,7 +940,7 @@ static int mpq_map_buffer_to_kernel(
}
ion_handle_get_size(client, ion_handle, &tmp);
MPQ_DVB_DBG_PRINT(
- "%s: mapped to address 0x%p, size=%lu\n",
+ "%s: mapped to address 0x%p, size=%zu\n",
__func__, *kernel_mem, tmp);
}