mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, jslaby@suse.com,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sh@vger.kernel.org,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Subject: Re: [PATCH] serial: sh-sci: Fix length of scatterlist
Date: Tue, 20 Oct 2015 21:15:38 +0800	[thread overview]
Message-ID: <201510202148.eD6cp8fN%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445343502-4436-1-git-send-email-yoshihiro.shimoda.uh@renesas.com>

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

Hi Yoshihiro,

[auto build test ERROR on tty/tty-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Yoshihiro-Shimoda/serial-sh-sci-Fix-length-of-scatterlist/20151020-201918
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/tty/serial/sh-sci.c: In function 'sci_request_dma':
>> drivers/tty/serial/sh-sci.c:1440:4: error: implicit declaration of function 'sg_dma_length' [-Werror=implicit-function-declaration]
       sg_dma_length(sg) = s->buf_len_rx;
       ^
>> drivers/tty/serial/sh-sci.c:1440:22: error: lvalue required as left operand of assignment
       sg_dma_length(sg) = s->buf_len_rx;
                         ^
   cc1: some warnings being treated as errors

vim +/sg_dma_length +1440 drivers/tty/serial/sh-sci.c

  1434			for (i = 0; i < 2; i++) {
  1435				struct scatterlist *sg = &s->sg_rx[i];
  1436	
  1437				sg_init_table(sg, 1);
  1438				s->rx_buf[i] = buf;
  1439				sg_dma_address(sg) = dma;
> 1440				sg_dma_length(sg) = s->buf_len_rx;
  1441	
  1442				buf += s->buf_len_rx;
  1443				dma += s->buf_len_rx;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 50120 bytes --]

  parent reply	other threads:[~2015-10-20 13:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 12:18 Yoshihiro Shimoda
2015-10-20 12:22 ` Geert Uytterhoeven
2015-10-22  6:36   ` Yoshihiro Shimoda
2015-10-20 13:15 ` kbuild test robot [this message]
2015-10-22  6:41 Yoshihiro Shimoda
2015-10-22 11:06 ` Geert Uytterhoeven

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=201510202148.eD6cp8fN%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=yoshihiro.shimoda.uh@renesas.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®