summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Jouband <jj.jouband@gmail.com>2020-01-25 02:04:26 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2020-02-27 23:20:02 +0300
commit31e0a45544b17cf47c7c7c9723e6175e8a8cb640 (patch)
treecf02157d9bd12affa46e88fabd202b5f07d1b22a
parent1283b3b8f82b9004fbb94398cade5c8e797a2c8d (diff)
downloadlinux-31e0a45544b17cf47c7c7c9723e6175e8a8cb640.tar.xz
media: staging: media: ipu3: Change 'unsigned long int' to 'unsigned long'
This patch fixes the checkpatch.pl warning: WARNING: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary Signed-off-by: Jean-Baptiste Jouband <jj.jouband@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--drivers/staging/media/ipu3/ipu3-mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/ipu3/ipu3-mmu.c b/drivers/staging/media/ipu3/ipu3-mmu.c
index 3d969b0522ab..5f3ff964f3e7 100644
--- a/drivers/staging/media/ipu3/ipu3-mmu.c
+++ b/drivers/staging/media/ipu3/ipu3-mmu.c
@@ -130,7 +130,7 @@ static u32 *imgu_mmu_alloc_page_table(u32 pteval)
for (pte = 0; pte < IPU3_PT_PTES; pte++)
pt[pte] = pteval;
- set_memory_uc((unsigned long int)pt, IPU3_PT_ORDER);
+ set_memory_uc((unsigned long)pt, IPU3_PT_ORDER);
return pt;
}
@@ -141,7 +141,7 @@ static u32 *imgu_mmu_alloc_page_table(u32 pteval)
*/
static void imgu_mmu_free_page_table(u32 *pt)
{
- set_memory_wb((unsigned long int)pt, IPU3_PT_ORDER);
+ set_memory_wb((unsigned long)pt, IPU3_PT_ORDER);
free_page((unsigned long)pt);
}