From: Varsha Rao Date: Sat, 4 Mar 2017 17:20:07 +0000 (+0530) Subject: staging: media: atomisp: Use unsigned int instead of unsigned. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b2289d5267b2f80a9a66c0fe41d2f9bb7c6013cd;p=openwrt%2Fstaging%2Fblogic.git staging: media: atomisp: Use unsigned int instead of unsigned. Usage of unsigned int is preferred over unsigned and this patch fixes the checkpatch issue. Signed-off-by: Varsha Rao Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c index e8fab3754a1c..5ddf61fc95fa 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c @@ -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", diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h index 8f0a78f5a20f..53ef18f7e912 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.h @@ -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 */