On Sun, Jan 26, 2020 at 07:37:58PM +0200, Valery Ivanov wrote: > This patch fixes "No space is necessary after a cast". > Issue found by checkpatch.pl > > Signed-off-by: Valery Ivanov <ivalery111@xxxxxxxxx> > --- > drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c > index 33485184a98a..997ce88c67c4 100644 > --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c > +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c > @@ -237,7 +237,7 @@ static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, > { > struct snd_pcm_runtime *runtime = substream->runtime; > struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; > - void *src = (void *) (substream->runtime->dma_area + rec->sw_data); > + void *src = (void *)(substream->runtime->dma_area + rec->sw_data); There is no need for the cast to begin with. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel