diff options
author | Jonathan Bergh <bergh.jonathan@gmail.com> | 2024-02-26 22:40:19 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 12:15:09 +0300 |
commit | cf410032495877a13de5988a0b97835be2999957 (patch) | |
tree | 6fe33116aa67af5d8b6d616c273af58e241c6ffa /drivers/staging/media/atomisp/pci/sh_css_sp.c | |
parent | 0a8b308bdf70b887b6012e24a47e29d30c9f2730 (diff) | |
download | linux-cf410032495877a13de5988a0b97835be2999957.tar.xz |
media: staging: media: atomisp: Fixed "unsigned int *" rather than "unsigned *" declaration in variable declaration
This code fixes a code style issue where:
* Checkpatch suggests using "unsigned int *" rather than a bare
"unsigned *" declaration in the code
Link: https://lore.kernel.org/r/20240226194023.69070-3-bergh.jonathan@gmail.com
Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/sh_css_sp.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/sh_css_sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c b/drivers/staging/media/atomisp/pci/sh_css_sp.c index e0e1405dfc69..05b9c9ea0a21 100644 --- a/drivers/staging/media/atomisp/pci/sh_css_sp.c +++ b/drivers/staging/media/atomisp/pci/sh_css_sp.c @@ -187,7 +187,7 @@ sh_css_sp_get_debug_state(struct sh_css_sp_debug_state *state) (void)HIVE_ADDR_sp_output; /* To get rid of warning in CRUN */ for (i = 0; i < sizeof(*state) / sizeof(int); i++) - ((unsigned *)state)[i] = load_sp_array_uint(sp_output, i + offset); + ((unsigned int *)state)[i] = load_sp_array_uint(sp_output, i + offset); } #endif |