Commit cf410032 authored by Jonathan Bergh's avatar Jonathan Bergh Committed by Mauro Carvalho Chehab

media: staging: media: atomisp: Fixed "unsigned int *" rather than "unsigned...

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.comSigned-off-by: default avatarJonathan Bergh <bergh.jonathan@gmail.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 0a8b308b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment