Skip to content

Commit

Permalink
staging: media: atomisp: Use unsigned int instead of unsigned.
Browse files Browse the repository at this point in the history
Usage of unsigned int is preferred over unsigned and this patch fixes the
checkpatch issue.

Signed-off-by: Varsha Rao <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
varshar16 authored and gregkh committed Mar 6, 2017
1 parent 0ec73c0 commit b2289d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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[] = {
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b2289d5

Please sign in to comment.