mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	"Luis de Bethencourt" <luisbg@osg.samsung.com>,
	"Javier Martinez Canillas" <javier@osg.samsung.com>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH] bcma: mips: Allow build if COMPILE_TEST is enabled
Date: Tue, 13 Oct 2015 23:25:28 +0800	[thread overview]
Message-ID: <201510132319.x2UV0LGD%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444743718-15056-1-git-send-email-javier@osg.samsung.com>

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

Hi Javier,

[auto build test ERROR on v4.3-rc5 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/bcma-mips-Allow-build-if-COMPILE_TEST-is-enabled/20151013-214630
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/mtd/devices/bcm47xxsflash.c: In function 'bcm47xxsflash_read':
>> drivers/mtd/devices/bcm47xxsflash.c:112:37: error: implicit declaration of function 'KSEG0ADDR' [-Werror=implicit-function-declaration]
     memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from),
                                        ^
   cc1: some warnings being treated as errors

vim +/KSEG0ADDR +112 drivers/mtd/devices/bcm47xxsflash.c

c0fcbc56 Rafał Miłecki  2013-05-21   96  
c0fcbc56 Rafał Miłecki  2013-05-21   97  	if (erase->callback)
c0fcbc56 Rafał Miłecki  2013-05-21   98  		erase->callback(erase);
c0fcbc56 Rafał Miłecki  2013-05-21   99  
c0fcbc56 Rafał Miłecki  2013-05-21  100  	return err;
c0fcbc56 Rafał Miłecki  2013-05-21  101  }
c0fcbc56 Rafał Miłecki  2013-05-21  102  
5fe42d5b Rafał Miłecki  2012-09-17  103  static int bcm47xxsflash_read(struct mtd_info *mtd, loff_t from, size_t len,
5fe42d5b Rafał Miłecki  2012-09-17  104  			      size_t *retlen, u_char *buf)
5fe42d5b Rafał Miłecki  2012-09-17  105  {
a2f74a7d Rafał Miłecki  2013-01-06  106  	struct bcm47xxsflash *b47s = mtd->priv;
5fe42d5b Rafał Miłecki  2012-09-17  107  
5fe42d5b Rafał Miłecki  2012-09-17  108  	/* Check address range */
5fe42d5b Rafał Miłecki  2012-09-17  109  	if ((from + len) > mtd->size)
5fe42d5b Rafał Miłecki  2012-09-17  110  		return -EINVAL;
5fe42d5b Rafał Miłecki  2012-09-17  111  
a2f74a7d Rafał Miłecki  2013-01-06 @112  	memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from),
5fe42d5b Rafał Miłecki  2012-09-17  113  		      len);
60aca067 Hauke Mehrtens 2013-01-24  114  	*retlen = len;
5fe42d5b Rafał Miłecki  2012-09-17  115  
5fe42d5b Rafał Miłecki  2012-09-17  116  	return len;
5fe42d5b Rafał Miłecki  2012-09-17  117  }
5fe42d5b Rafał Miłecki  2012-09-17  118  
13134f48 Rafał Miłecki  2013-05-22  119  static int bcm47xxsflash_write_st(struct mtd_info *mtd, u32 offset, size_t len,
13134f48 Rafał Miłecki  2013-05-22  120  				  const u_char *buf)

:::::: The code at line 112 was first introduced by commit
:::::: a2f74a7dacc1c17a0b146eb3112217874c5db436 mtd: bcm47xxsflash: add own struct for abstrating bus type

:::::: TO: Rafał Miłecki <zajec5@gmail.com>
:::::: CC: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

---
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: 51617 bytes --]

  reply	other threads:[~2015-10-13 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13 13:41 Javier Martinez Canillas
2015-10-13 15:25 ` kbuild test robot [this message]
2015-10-14  9:20   ` Javier Martinez Canillas
2015-10-14  9:42     ` [kbuild-all] " Fengguang Wu
2015-10-14 10:52     ` Kalle Valo
2015-10-14 10:54       ` Javier Martinez Canillas
2015-10-14 11:04         ` Kalle Valo
2015-10-14 11:04           ` Javier Martinez Canillas
2016-01-28 13:05           ` Kalle Valo
2016-01-28 18:58             ` Javier Martinez Canillas

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=201510132319.x2UV0LGD%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=javier@osg.samsung.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luisbg@osg.samsung.com \
    --cc=zajec5@gmail.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®