blackfin: bf533-stamp: add linux/delay.h
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | blackfin: bf533-stamp: add linux/delay.harch/ | +1 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Mike Frysinger |
|---|---|
| 1/1 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] blackfin: bf533-stamp: add linux/delay.h
Quoted 10 lines · kbuild test robot
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 checkouta1fd3e24d8a484b3265a6d485202afe093c058f3
Quoted 8 lines
# save the attached .config to linux build tree make.cross ARCH=blackfinAll error/warnings:
arch/blackfin/mach-bf533/boards/stamp.c: In function 'net2272_init':Quoted 1 line
Quoted 1 line
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.
Quoted 31 lines
vim +/mdelay +834
arch/blackfin/mach-bf533/boards/stamp.c9be8631b 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
::::::9be8631b8a7d11fa6d206fcf0a7a2005ed39f41bBlackfin: net2272: move pin setup to boards files
Quoted 6 lines
:::::: TO: Mike Frysinger <[email protected]>
:::::: CC: Mike Frysinger <[email protected]>---
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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>