From: kbuild test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: kbuild-all@01.org,
Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>,
linux-kernel@vger.kernel.org,
Haavard Skinnemoen <hskinnemoen@gmail.com>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH v1 1/2] ALSA: atmel: Remove AVR32 bits from the driver
Date: Thu, 4 May 2017 04:23:41 +0800 [thread overview]
Message-ID: <201705040416.Y5CP7mbF%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170502112540.62522-2-andriy.shevchenko@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 3862 bytes --]
Hi Andy,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.11 next-20170503]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ALSA-atmel-Remove-AVR32-bits-from-the-driver/20170502-214413
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
sound//atmel/ac97c.c: In function 'atmel_ac97c_playback_hw_free':
sound//atmel/ac97c.c:205:22: warning: unused variable 'chip' [-Wunused-variable]
struct atmel_ac97c *chip = snd_pcm_substream_chip(substream);
^~~~
sound//atmel/ac97c.c: In function 'atmel_ac97c_capture_hw_free':
sound//atmel/ac97c.c:211:22: warning: unused variable 'chip' [-Wunused-variable]
struct atmel_ac97c *chip = snd_pcm_substream_chip(substream);
^~~~
sound//atmel/ac97c.c: In function 'atmel_ac97c_capture_trigger':
sound//atmel/ac97c.c:444:1: warning: label 'out' defined but not used [-Wunused-label]
out:
^~~
sound//atmel/ac97c.c: In function 'atmel_ac97c_interrupt':
>> sound//atmel/ac97c.c:540:3: error: expected ';' before '}' token
}
^
vim +540 sound//atmel/ac97c.c
7177395f Sedji Gaouaou 2010-03-01 524 runtime = chip->playback_substream->runtime;
e9d5ef6b Andy Shevchenko 2017-05-02 525 block_size = frames_to_bytes(runtime, runtime->period_size);
7177395f Sedji Gaouaou 2010-03-01 526 chip->playback_period++;
7177395f Sedji Gaouaou 2010-03-01 527
7177395f Sedji Gaouaou 2010-03-01 528 if (chip->playback_period == runtime->periods)
7177395f Sedji Gaouaou 2010-03-01 529 chip->playback_period = 0;
7177395f Sedji Gaouaou 2010-03-01 530 next_period = chip->playback_period + 1;
7177395f Sedji Gaouaou 2010-03-01 531 if (next_period == runtime->periods)
7177395f Sedji Gaouaou 2010-03-01 532 next_period = 0;
7177395f Sedji Gaouaou 2010-03-01 533
7177395f Sedji Gaouaou 2010-03-01 534 offset = block_size * next_period;
7177395f Sedji Gaouaou 2010-03-01 535
e9d5ef6b Andy Shevchenko 2017-05-02 536 writel(runtime->dma_addr + offset, chip->regs + ATMEL_PDC_TNPR);
e9d5ef6b Andy Shevchenko 2017-05-02 537 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR);
7177395f Sedji Gaouaou 2010-03-01 538
e9d5ef6b Andy Shevchenko 2017-05-02 539 snd_pcm_period_elapsed(chip->playback_substream)
7177395f Sedji Gaouaou 2010-03-01 @540 }
7177395f Sedji Gaouaou 2010-03-01 541 if ((casr & camr) & AC97C_CSR_ENDRX) {
7177395f Sedji Gaouaou 2010-03-01 542 runtime = chip->capture_substream->runtime;
e9d5ef6b Andy Shevchenko 2017-05-02 543 block_size = frames_to_bytes(runtime, runtime->period_size);
7177395f Sedji Gaouaou 2010-03-01 544 chip->capture_period++;
7177395f Sedji Gaouaou 2010-03-01 545
7177395f Sedji Gaouaou 2010-03-01 546 if (chip->capture_period == runtime->periods)
7177395f Sedji Gaouaou 2010-03-01 547 chip->capture_period = 0;
7177395f Sedji Gaouaou 2010-03-01 548 next_period = chip->capture_period + 1;
:::::: The code at line 540 was first introduced by commit
:::::: 7177395fdd919e561544a7d1c0ac196098a2ae2d ALSA: AC97: add AC97 support for AT91.
:::::: TO: Sedji Gaouaou <sedji.gaouaou@atmel.com>
:::::: CC: Takashi Iwai <tiwai@suse.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61359 bytes --]
next prev parent reply other threads:[~2017-05-03 20:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 11:25 [PATCH v1 0/2] dmaengine: dw: Remove AVR32 bits in drivers Andy Shevchenko
2017-05-02 11:25 ` [PATCH v1 1/2] ALSA: atmel: Remove AVR32 bits from the driver Andy Shevchenko
2017-05-03 8:45 ` Nicolas Ferre
2017-05-03 20:23 ` kbuild test robot [this message]
2017-05-02 11:25 ` [PATCH v1 2/2] dmaengine: dw: " Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201705040416.Y5CP7mbF%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=boris.brezillon@free-electrons.com \
--cc=egtvedt@samfundet.no \
--cc=hskinnemoen@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®