]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: media: imgu: Remove extra type detail
authorDeepak R Varma <mh12gx2825@gmail.com>
Fri, 13 Mar 2020 18:27:58 +0000 (23:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 13:07:55 +0000 (14:07 +0100)
Remove unwanted variable type detail as detected by checkpatch script.

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Link: https://lore.kernel.org/r/20200313182754.GA20501@deeUbuntu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/ipu3/ipu3-mmu.c

index 3d969b0522ab41ac1acb4e8858838391d7b370e6..5f3ff964f3e76edca3603e8eaad5dd4cbbd1c599 100644 (file)
@@ -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);
 }