lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 20 Feb 2017 20:39:28 +0800
From:   kbuild test robot <lkp@...el.com>
To:     =?UTF-8?q?Valentin=20H=C3=BCbner?= 
        <valentin.huebner@...il.com>
Cc:     kbuild-all@...org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: board: Fix redundant macro

Hi

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.10 next-20170220]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/UTF-8-q-Valentin-20H-C3-BCbner/Staging-board-Fix-redundant-macro/20170220-175655
config: arm-shmobile_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/staging/board/kzm9d.c:25:15: error: expected declaration specifiers or '...' before string constant
    board_staging("renesas,kzm9d", kzm9d_init);
                  ^~~~~~~~~~~~~~~
>> drivers/staging/board/kzm9d.c:25:32: error: expected declaration specifiers or '...' before 'kzm9d_init'
    board_staging("renesas,kzm9d", kzm9d_init);
                                   ^~~~~~~~~~
   drivers/staging/board/kzm9d.c:12:20: warning: 'kzm9d_init' defined but not used [-Wunused-function]
    static void __init kzm9d_init(void)
                       ^~~~~~~~~~

vim +25 drivers/staging/board/kzm9d.c

f22f4ea5 Magnus Damm        2014-06-06   9  	DEFINE_RES_IRQ(159),
f22f4ea5 Magnus Damm        2014-06-06  10  };
f22f4ea5 Magnus Damm        2014-06-06  11  
f22f4ea5 Magnus Damm        2014-06-06  12  static void __init kzm9d_init(void)
f22f4ea5 Magnus Damm        2014-06-06  13  {
cebbddb6 Geert Uytterhoeven 2015-11-20  14  	board_staging_gic_setup_xlate("arm,pl390", 32);
a8589088 Geert Uytterhoeven 2015-06-17  15  
a8589088 Geert Uytterhoeven 2015-06-17  16  	if (!board_staging_dt_node_available(usbs1_res,
a8589088 Geert Uytterhoeven 2015-06-17  17  					     ARRAY_SIZE(usbs1_res))) {
a8589088 Geert Uytterhoeven 2015-06-17  18  		board_staging_gic_fixup_resources(usbs1_res,
a8589088 Geert Uytterhoeven 2015-06-17  19  						  ARRAY_SIZE(usbs1_res));
f22f4ea5 Magnus Damm        2014-06-06  20  		platform_device_register_simple("emxx_udc", -1, usbs1_res,
f22f4ea5 Magnus Damm        2014-06-06  21  						ARRAY_SIZE(usbs1_res));
f22f4ea5 Magnus Damm        2014-06-06  22  	}
a8589088 Geert Uytterhoeven 2015-06-17  23  }
f22f4ea5 Magnus Damm        2014-06-06  24  
f22f4ea5 Magnus Damm        2014-06-06 @25  board_staging("renesas,kzm9d", kzm9d_init);

:::::: The code at line 25 was first introduced by commit
:::::: f22f4ea5c63fbc6ee7a3f7240c84a276eba96d76 staging: board: kzm9d: Board staging support for emxx_udc

:::::: TO: Magnus Damm <damm+renesas@...nsource.se>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

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

Download attachment ".config.gz" of type "application/gzip" (25970 bytes)

Powered by blists - more mailing lists