staging: media: atomisp: Use unsigned int instead of unsigned.
authorVarsha Rao <rvarsha016@gmail.com>
Sat, 4 Mar 2017 17:20:07 +0000 (22:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 10:17:41 +0000 (11:17 +0100)
Usage of unsigned int is preferred over unsigned and this patch fixes the
checkpatch issue.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h

index e8fab37..5ddf61f 100644 (file)
@@ -30,7 +30,7 @@ void
 ia_css_macc1_5_encode(
        struct sh_css_isp_macc1_5_params *to,
        const struct ia_css_macc1_5_config *from,
-       unsigned size)
+       unsigned int size)
 {
        (void)size;
        to->exp = from->exp;
@@ -40,7 +40,7 @@ void
 ia_css_macc1_5_vmem_encode(
        struct sh_css_isp_macc1_5_vmem_params *params,
        const struct ia_css_macc1_5_table *from,
-       unsigned size)
+       unsigned int size)
 {
        unsigned int i, j, k, idx;
        unsigned int idx_map[] = {
@@ -65,7 +65,7 @@ ia_css_macc1_5_vmem_encode(
 void
 ia_css_macc1_5_debug_dtrace(
        const struct ia_css_macc1_5_config *config,
-       unsigned level)
+       unsigned int level)
 {
        ia_css_debug_dtrace(level,
                "config.exp=%d\n",
index 8f0a78f..53ef18f 100644 (file)
@@ -24,18 +24,18 @@ void
 ia_css_macc1_5_encode(
        struct sh_css_isp_macc1_5_params *to,
        const struct ia_css_macc1_5_config *from,
-       unsigned size);
+       unsigned int size);
 
 void
 ia_css_macc1_5_vmem_encode(
        struct sh_css_isp_macc1_5_vmem_params *params,
        const struct ia_css_macc1_5_table *from,
-       unsigned size);
+       unsigned int size);
 
 #ifndef IA_CSS_NO_DEBUG
 void
 ia_css_macc1_5_debug_dtrace(
        const struct ia_css_macc1_5_config *config,
-       unsigned level);
+       unsigned int level);
 #endif
 #endif /* __IA_CSS_MACC1_5_HOST_H */