linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Rob Herring <robh+dt@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>
Cc: kbuild-all@lists.01.org,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org
Subject: Re: [PATCH 4/7] misc: Add driver for DAB IP found on Renesas R-Car devices
Date: Fri, 26 Feb 2021 12:57:39 +0800	[thread overview]
Message-ID: <202102261257.PnRi4l34-lkp@intel.com> (raw)
In-Reply-To: <20210225225147.29920-5-fabrizio.castro.jz@renesas.com>

[-- Attachment #1: Type: text/plain, Size: 2867 bytes --]

Hi Fabrizio,

I love your patch! Perhaps something to improve:

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on robh/for-next renesas-drivers/renesas-clk renesas-devel/next v5.11 next-20210226]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Fabrizio-Castro/Add-FFT-Support-for-R-Car-Gen3-devices/20210226-065737
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 29c395c77a9a514c5857c45ceae2665e9bd99ac7
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/7f7ea7f057fde0d61b09f379dbd6abec9d00f713
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Fabrizio-Castro/Add-FFT-Support-for-R-Car-Gen3-devices/20210226-065737
        git checkout 7f7ea7f057fde0d61b09f379dbd6abec9d00f713
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/misc/rcar_dab/rcar_dev.c:20:13: warning: no previous prototype for 'rcar_dab_irq' [-Wmissing-prototypes]
      20 | irqreturn_t rcar_dab_irq(int irq, void *devid)
         |             ^~~~~~~~~~~~


vim +/rcar_dab_irq +20 drivers/misc/rcar_dab/rcar_dev.c

    19	
  > 20	irqreturn_t rcar_dab_irq(int irq, void *devid)
    21	{
    22		struct rcar_dab *dab = devid;
    23		u32 intsr, intcr1;
    24	
    25		spin_lock(&dab->shared_regs_lock);
    26	
    27		intcr1 = rcar_dab_read(dab, RCAR_DAB_INTCR1);
    28		rcar_dab_write(dab, RCAR_DAB_INTCR1, 0x000003FF);
    29	
    30		intsr = rcar_dab_read(dab, RCAR_DAB_INTSR);
    31		if (!intsr) {
    32			rcar_dab_write(dab, RCAR_DAB_INTCR1, intcr1);
    33			spin_unlock(&dab->shared_regs_lock);
    34			return IRQ_NONE;
    35		}
    36	
    37		/* Re-enable interrupts that haven't fired */
    38		rcar_dab_write(dab, RCAR_DAB_INTCR1, 0x3FF & (intsr | intcr1));
    39		/* Clear interrupts */
    40		rcar_dab_write(dab, RCAR_DAB_INTSR, 0x7 & ~intsr);
    41	
    42		spin_unlock(&dab->shared_regs_lock);
    43	
    44		if (intsr & RCAR_DAB_INTSR_FFT_DONE)
    45			rcar_dab_fft_irq(dab);
    46	
    47		return IRQ_HANDLED;
    48	}
    49	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76951 bytes --]

  reply	other threads:[~2021-02-26  4:58 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 22:51 [PATCH 0/7] Add FFT Support for R-Car Gen3 devices Fabrizio Castro
2021-02-25 22:51 ` [PATCH 1/7] clk: renesas: r8a77990: Add DAB clock Fabrizio Castro
2021-02-26  8:34   ` Geert Uytterhoeven
2021-03-01 14:47     ` Fabrizio Castro
2021-03-03 10:22       ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 2/7] clk: renesas: r8a77965: " Fabrizio Castro
2021-02-26  8:45   ` Geert Uytterhoeven
2021-02-26 12:48     ` Laurent Pinchart
2021-03-01 15:01       ` Fabrizio Castro
2021-03-03 10:23         ` Fabrizio Castro
2021-03-01 14:58     ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 3/7] dt-bindings: misc: Add binding for R-Car DAB Fabrizio Castro
2021-02-26  8:41   ` Geert Uytterhoeven
2021-03-01 15:10     ` Fabrizio Castro
2021-02-26  9:06   ` Sergei Shtylyov
2021-03-01 15:11     ` Fabrizio Castro
2021-02-26 13:01   ` Laurent Pinchart
2021-03-01 15:13     ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 4/7] misc: Add driver for DAB IP found on Renesas R-Car devices Fabrizio Castro
2021-02-26  4:57   ` kernel test robot [this message]
2021-02-26  9:34   ` Geert Uytterhoeven
2021-03-01 16:19     ` Fabrizio Castro
2021-02-26 10:37   ` Arnd Bergmann
2021-02-26 13:05     ` Laurent Pinchart
2021-03-01 17:54       ` Fabrizio Castro
2021-03-01 17:26     ` Fabrizio Castro
2021-03-02 11:16       ` Ezequiel Garcia
2021-03-02 12:20         ` Fabrizio Castro
2021-03-02 12:32           ` Laurent Pinchart
2021-03-03 10:20             ` Fabrizio Castro
2021-03-03 10:26               ` Geert Uytterhoeven
2021-03-03 10:43                 ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 5/7] arm64: dts: renesas: r8a77990: Add DAB support Fabrizio Castro
2021-02-26  9:37   ` Geert Uytterhoeven
2021-03-01 14:51     ` Fabrizio Castro
2021-02-26 12:47   ` Laurent Pinchart
2021-03-01 14:53     ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 6/7] arm64: dts: renesas: r8a77965: " Fabrizio Castro
2021-02-26  9:37   ` Geert Uytterhoeven
2021-03-01 14:54     ` Fabrizio Castro
2021-02-26 12:47   ` Laurent Pinchart
2021-03-01 14:55     ` Fabrizio Castro
2021-02-25 22:51 ` [PATCH 7/7] arm64: configs: Add R-Car " Fabrizio Castro
2021-02-26 12:52   ` Laurent Pinchart
2021-02-26 13:05     ` Geert Uytterhoeven
2021-02-26 12:20 ` [PATCH 0/7] Add FFT Support for R-Car Gen3 devices Laurent Pinchart
2021-03-01 14:50   ` Fabrizio Castro

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=202102261257.PnRi4l34-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).