Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588369

[PATCH] staging: bcm2835-audio: Fixed spacing around '&'

From Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: bcm2835-audio: Fixed spacing around '&'
Date 2017-02-26 19:00 +0100
Message-ID <tfbgZ-1B3-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] staging: bcm2835-audio: Fixed spacing around '&' Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> - 2017-02-26 19:00 +0100
  Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Julia Lawall <julia.lawall@lip6.fr> - 2017-02-26 19:30 +0100
    Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed  spacing around '&' Joe Perches <joe@perches.com> - 2017-02-26 19:40 +0100
      Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed  spacing around '&' Joe Perches <joe@perches.com> - 2017-02-26 20:40 +0100
        Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Julia Lawall <julia.lawall@lip6.fr> - 2017-02-26 21:50 +0100
          Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed  spacing around '&' Joe Perches <joe@perches.com> - 2017-02-26 23:00 +0100
            Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Scott Branden <scott.branden@broadcom.com> - 2017-02-27 01:10 +0100
              Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Julia Lawall <julia.lawall@lip6.fr> - 2017-02-27 07:50 +0100
                Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Dan Carpenter <dan.carpenter@oracle.com> - 2017-02-27 15:50 +0100
                Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Scott Branden <scott.branden@broadcom.com> - 2017-02-27 21:50 +0100
                Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed  spacing around '&' Michael Zoran <mzoran@crowfest.net> - 2017-02-27 23:10 +0100
      Re: [Outreachy kernel] [PATCH] staging: bcm2835-audio: Fixed spacing  around '&' Julia Lawall <julia.lawall@lip6.fr> - 2017-02-27 01:50 +0100

csiph-web