]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
media: staging: media: atomisp: Fixed "unsigned int *" rather than "unsigned *" decla...
authorJonathan Bergh <bergh.jonathan@gmail.com>
Mon, 26 Feb 2024 19:40:19 +0000 (19:40 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:15:09 +0000 (10:15 +0100)
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>
drivers/staging/media/atomisp/pci/sh_css_sp.c

index e0e1405dfc694eb44c6feb22867c956334a4decf..05b9c9ea0a21b2b3985c46bbae942b5401168e73 100644 (file)
@@ -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