]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: media: atomisp: Use unsigned int instead of unsigned
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>
Wed, 20 Sep 2017 12:28:46 +0000 (05:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Sep 2017 13:34:36 +0000 (15:34 +0200)
Fix the checkpatch.pl issue:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Georgiana Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c

index 05897b74734940931361abf2a22ca50049e6695e..b7f22b7a94b0778761d7e93bb1831da571c2f77f 100644 (file)
@@ -155,7 +155,7 @@ static void atomisp_css2_hw_store(hrt_address addr,
                                  const void *from, uint32_t n)
 {
        unsigned long flags;
-       unsigned i;
+       unsigned int i;
        unsigned int _to = (unsigned int)addr;
        const char *_from = (const char *)from;
 
@@ -168,7 +168,7 @@ static void atomisp_css2_hw_store(hrt_address addr,
 static void atomisp_css2_hw_load(hrt_address addr, void *to, uint32_t n)
 {
        unsigned long flags;
-       unsigned i;
+       unsigned int i;
        char *_to = (char *)to;
        unsigned int _from = (unsigned int)addr;
 
@@ -4659,7 +4659,7 @@ int atomisp_css_dump_sp_raw_copy_linecount(bool reduced)
 int atomisp_css_dump_blob_infor(void)
 {
        struct ia_css_blob_descr *bd = sh_css_blob_info;
-       unsigned i, nm = sh_css_num_binaries;
+       unsigned int i, nm = sh_css_num_binaries;
 
        if (nm == 0)
                return -EPERM;