From: Oleg Nesterov <oleg@redhat.com>
To: kbuild test robot <fengguang.wu@intel.com>,
Steven Miao <realmz6@gmail.com>,
Mike Frysinger <vapier@gentoo.org>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [PATCH 0/1] blackfin: bf533-stamp: add linux/delay.h
Date: Fri, 26 Dec 2014 20:01:50 +0100 [thread overview]
Message-ID: <20141226190150.GA15032@redhat.com> (raw)
In-Reply-To: <201412252014.vyXxH1Bh%fengguang.wu@intel.com>
On 12/25, kbuild test robot wrote:
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 53262d12d1658669029ab39a63e3d314108abe66
> commit: a1fd3e24d8a484b3265a6d485202afe093c058f3 percpu_rw_semaphore: reimplement to not block the readers unnecessarily
> date: 2 years ago
> config: blackfin-allyesconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout a1fd3e24d8a484b3265a6d485202afe093c058f3
> # save the attached .config to linux build tree
> make.cross ARCH=blackfin
>
> All error/warnings:
>
> arch/blackfin/mach-bf533/boards/stamp.c: In function 'net2272_init':
> >> arch/blackfin/mach-bf533/boards/stamp.c:834:2: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
That commit removed linux/delay.h from percpu-rwsem.h. But stamp.c
obviously should not rely on percpu-rwsem.h, and in fact fs.h includes
it by mistake (this needs another patch).
I think mach-bf533/boards/stamp.c needs the trivial fix.
> vim +/mdelay +834 arch/blackfin/mach-bf533/boards/stamp.c
>
> 9be8631b Mike Frysinger 2011-05-04 818 gpio_free(GPIO_PF0);
> 9be8631b Mike Frysinger 2011-05-04 819 return ret;
> 9be8631b Mike Frysinger 2011-05-04 820 }
> 9be8631b Mike Frysinger 2011-05-04 821
> 9be8631b Mike Frysinger 2011-05-04 822 ret = gpio_request(GPIO_PF11, "net2272");
> 9be8631b Mike Frysinger 2011-05-04 823 if (ret) {
> 9be8631b Mike Frysinger 2011-05-04 824 gpio_free(GPIO_PF0);
> 9be8631b Mike Frysinger 2011-05-04 825 gpio_free(GPIO_PF1);
> 9be8631b Mike Frysinger 2011-05-04 826 return ret;
> 9be8631b Mike Frysinger 2011-05-04 827 }
> 9be8631b Mike Frysinger 2011-05-04 828
> 9be8631b Mike Frysinger 2011-05-04 829 gpio_direction_output(GPIO_PF0, 0);
> 9be8631b Mike Frysinger 2011-05-04 830 gpio_direction_output(GPIO_PF1, 1);
> 9be8631b Mike Frysinger 2011-05-04 831
> 9be8631b Mike Frysinger 2011-05-04 832 /* Reset the USB chip */
> 9be8631b Mike Frysinger 2011-05-04 833 gpio_direction_output(GPIO_PF11, 0);
> 9be8631b Mike Frysinger 2011-05-04 @834 mdelay(2);
> 9be8631b Mike Frysinger 2011-05-04 835 gpio_set_value(GPIO_PF11, 1);
> 9be8631b Mike Frysinger 2011-05-04 836 #endif
> 9be8631b Mike Frysinger 2011-05-04 837
> 9be8631b Mike Frysinger 2011-05-04 838 return 0;
> 9be8631b Mike Frysinger 2011-05-04 839 }
> 9be8631b Mike Frysinger 2011-05-04 840
> 1394f032 Bryan Wu 2007-05-06 841 static int __init stamp_init(void)
> 1394f032 Bryan Wu 2007-05-06 842 {
>
> :::::: The code at line 834 was first introduced by commit
> :::::: 9be8631b8a7d11fa6d206fcf0a7a2005ed39f41b Blackfin: net2272: move pin setup to boards files
>
> :::::: TO: Mike Frysinger <vapier@gentoo.org>
> :::::: CC: Mike Frysinger <vapier@gentoo.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-12-26 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-25 12:52 arch/blackfin/mach-bf533/boards/stamp.c:834:2: error: implicit declaration of function 'mdelay' kbuild test robot
2014-12-26 19:01 ` Oleg Nesterov [this message]
2014-12-26 19:02 ` [PATCH 1/1] blackfin: bf533-stamp: add linux/delay.h Oleg Nesterov
2014-12-31 5:04 ` Mike Frysinger
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=20141226190150.GA15032@redhat.com \
--to=oleg@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=realmz6@gmail.com \
--cc=vapier@gentoo.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).