From 951c16bf48676c90c526fafeec3bb6d1ba87ff0b Mon Sep 17 00:00:00 2001
From: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Date: Sun, 4 Mar 2018 00:42:44 +0530
Subject: [PATCH] staging: vc04_services: bcm2835-audio: Change to unsigned int *
Git-commit: 951c16bf48676c90c526fafeec3bb6d1ba87ff0b
Patch-mainline: v4.17-rc1
References: FATE#324827
Change 'unsigned *' to 'unsigned int *'. Issue found with checkpatch.
Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Takashi Iwai <tiwai@suse.de>
---
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
@@ -414,7 +414,7 @@ static int snd_bcm2835_pcm_lib_ioctl(str
int ret = snd_pcm_lib_ioctl(substream, cmd, arg);
audio_info(" .. substream=%p, cmd=%d, arg=%p (%x) ret=%d\n", substream,
- cmd, arg, arg ? *(unsigned *) arg : 0, ret);
+ cmd, arg, arg ? *(unsigned int *)arg : 0, ret);
return ret;
}