All of lore.kernel.org
 help / color / mirror / Atom feed
* [sound:topic/firewire-update 15/15] sound/firewire/amdtp-am824.c:402:14: sparse: symbol 'process_rx_data_blocks' was not declared. Should it be static?
@ 2015-09-29 14:46 kbuild test robot
  2015-09-29 14:46 ` [RFC PATCH sound] ALSA: firewire-lib: process_rx_data_blocks() can be static kbuild test robot
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2015-09-29 14:46 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: Takashi Iwai, alsa-devel, kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/firewire-update
head:   df075feefbd347f13fba5198294cda619532c237
commit: df075feefbd347f13fba5198294cda619532c237 [15/15] ALSA: firewire-lib: complete AM824 data block processing layer
reproduce:
  # apt-get install sparse
  git checkout df075feefbd347f13fba5198294cda619532c237
  make ARCH=x86_64 allmodconfig
  make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> sound/firewire/amdtp-am824.c:402:14: sparse: symbol 'process_rx_data_blocks' was not declared. Should it be static?
>> sound/firewire/amdtp-am824.c:423:14: sparse: symbol 'process_tx_data_blocks' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

* [RFC PATCH sound] ALSA: firewire-lib: process_rx_data_blocks() can be static
  2015-09-29 14:46 [sound:topic/firewire-update 15/15] sound/firewire/amdtp-am824.c:402:14: sparse: symbol 'process_rx_data_blocks' was not declared. Should it be static? kbuild test robot
@ 2015-09-29 14:46 ` kbuild test robot
  2015-09-29 14:53   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2015-09-29 14:46 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: Takashi Iwai, alsa-devel, kbuild-all


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 amdtp-am824.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c
index fe4b83f..bebddc6 100644
--- a/sound/firewire/amdtp-am824.c
+++ b/sound/firewire/amdtp-am824.c
@@ -399,8 +399,8 @@ static void read_midi_messages(struct amdtp_stream *s,
 	}
 }
 
-unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
-				    unsigned int data_blocks, unsigned int *syt)
+static unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
+					   unsigned int data_blocks, unsigned int *syt)
 {
 	struct amdtp_am824 *p = s->protocol;
 	struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm);
@@ -420,8 +420,8 @@ unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
 	return pcm_frames;
 }
 
-unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
-				    unsigned int data_blocks, unsigned int *syt)
+static unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
+					   unsigned int data_blocks, unsigned int *syt)
 {
 	struct amdtp_am824 *p = s->protocol;
 	struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm);

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

* Re: [RFC PATCH sound] ALSA: firewire-lib: process_rx_data_blocks() can be static
  2015-09-29 14:46 ` [RFC PATCH sound] ALSA: firewire-lib: process_rx_data_blocks() can be static kbuild test robot
@ 2015-09-29 14:53   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2015-09-29 14:53 UTC (permalink / raw)
  To: kbuild test robot; +Cc: alsa-devel, kbuild-all, Takashi Sakamoto

On Tue, 29 Sep 2015 16:46:10 +0200,
kbuild test robot wrote:
> 
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.


Takashi

> ---
>  amdtp-am824.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c
> index fe4b83f..bebddc6 100644
> --- a/sound/firewire/amdtp-am824.c
> +++ b/sound/firewire/amdtp-am824.c
> @@ -399,8 +399,8 @@ static void read_midi_messages(struct amdtp_stream *s,
>  	}
>  }
>  
> -unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
> -				    unsigned int data_blocks, unsigned int *syt)
> +static unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
> +					   unsigned int data_blocks, unsigned int *syt)
>  {
>  	struct amdtp_am824 *p = s->protocol;
>  	struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm);
> @@ -420,8 +420,8 @@ unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
>  	return pcm_frames;
>  }
>  
> -unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
> -				    unsigned int data_blocks, unsigned int *syt)
> +static unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer,
> +					   unsigned int data_blocks, unsigned int *syt)
>  {
>  	struct amdtp_am824 *p = s->protocol;
>  	struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm);
> 

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

end of thread, other threads:[~2015-09-29 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 14:46 [sound:topic/firewire-update 15/15] sound/firewire/amdtp-am824.c:402:14: sparse: symbol 'process_rx_data_blocks' was not declared. Should it be static? kbuild test robot
2015-09-29 14:46 ` [RFC PATCH sound] ALSA: firewire-lib: process_rx_data_blocks() can be static kbuild test robot
2015-09-29 14:53   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.