linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: bcm2835-audio: Fixed spacing around '&'
@ 2017-02-26 17:47 Narcisa Ana Maria Vasile
  2017-02-26 18:03 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 12+ messages in thread
From: Narcisa Ana Maria Vasile @ 2017-02-26 17:47 UTC (permalink / raw)
  To: linux-arm-kernel

This was reported by checkpatch.pl

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
---
 drivers/staging/bcm2835-audio/bcm2835-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/bcm2835-audio/bcm2835-pcm.c b/drivers/staging/bcm2835-audio/bcm2835-pcm.c
index 9e79236..328bee4a 100644
--- a/drivers/staging/bcm2835-audio/bcm2835-pcm.c
+++ b/drivers/staging/bcm2835-audio/bcm2835-pcm.c
@@ -91,7 +91,7 @@ void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream)
 		frames_to_bytes(alsa_stream->substream->runtime, alsa_stream->substream->runtime->status->hw_ptr),
 		new_period);
 	if (alsa_stream->buffer_size) {
-		alsa_stream->pos += consumed &~(1 << 30);
+		alsa_stream->pos += consumed & ~(1 << 30);
 		alsa_stream->pos %= alsa_stream->buffer_size;
 	}
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-02-27 20:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-26 17:47 [PATCH] staging: bcm2835-audio: Fixed spacing around '&' Narcisa Ana Maria Vasile
2017-02-26 18:03 ` [Outreachy kernel] " Julia Lawall
2017-02-26 18:34   ` Joe Perches
2017-02-26 18:59     ` Julia Lawall
2017-02-26 19:37       ` Joe Perches
2017-02-26 19:40         ` Julia Lawall
2017-02-26 21:56           ` Joe Perches
2017-02-27  0:08             ` Scott Branden
2017-02-27  6:25               ` Julia Lawall
2017-02-27 14:44                 ` Dan Carpenter
2017-02-27 20:35                 ` Scott Branden
2017-02-27 20:47                   ` Michael Zoran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).