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  linux-cve-announce  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]
Message-ID: <201602152005.UfVs7xXd%fengguang.wu@intel.com>
Date:	Mon, 15 Feb 2016 20:57:26 +0800
From:	kbuild test robot <lkp@...el.com>
To:	info@....ma
Cc:	kbuild-all@...org, linux-media@...r.kernel.org,
	Буди Романто, AreMa Inc 
	<knightrider@....ma>, linux-kernel@...r.kernel.org, crope@....fi,
	m.chehab@...sung.com, mchehab@....samsung.com, hdegoede@...hat.com,
	laurent.pinchart@...asonboard.com, mkrufky@...uxtv.org,
	sylvester.nawrocki@...il.com, g.liakhovetski@....de,
	peter.senna@...il.com
Subject: Re: [media 7/7] PCI bridge driver for PT3 & PXQ3PE

Hi Буди,

[auto build test ERROR on linuxtv-media/master]
[cannot apply to v4.5-rc4 next-20160215]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/info-are-ma/Driver-bundle-for-PT3-PX-Q3PE/20160215-173307
base:   git://linuxtv.org/media_tree.git master
config: x86_64-allyesconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/module.h:18:0,
                    from drivers/media/dvb-core/dvb_frontend.h:35,
                    from drivers/media/pci/ptx/ptx_common.c:8:
>> include/linux/moduleparam.h:13:29: error: 'KBUILD_MODNAME' undeclared here (not in a function)
    #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
                                ^
   include/linux/moduleparam.h:220:43: note: in definition of macro '__module_param_call'
     static const char __param_str_##name[] = prefix #name;  \
                                              ^
>> include/linux/moduleparam.h:448:22: note: in expansion of macro 'MODULE_PARAM_PREFIX'
     __module_param_call(MODULE_PARAM_PREFIX, name,   \
                         ^
>> include/linux/moduleparam.h:429:2: note: in expansion of macro 'module_param_array_named'
     module_param_array_named(name, name, type, nump, perm)
     ^
>> drivers/media/dvb-core/dvbdev.h:55:2: note: in expansion of macro 'module_param_array'
     module_param_array(adapter_nr, short, NULL, 0444); \
     ^
>> drivers/media/pci/ptx/ptx_common.c:145:1: note: in expansion of macro 'DVB_DEFINE_MOD_OPT_ADAPTER_NR'
    DVB_DEFINE_MOD_OPT_ADAPTER_NR(adap_no);
    ^
>> include/linux/moduleparam.h:13:44: error: expected ',' or ';' before string constant
    #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
                                               ^
   include/linux/moduleparam.h:220:43: note: in definition of macro '__module_param_call'
     static const char __param_str_##name[] = prefix #name;  \
                                              ^
>> include/linux/moduleparam.h:448:22: note: in expansion of macro 'MODULE_PARAM_PREFIX'
     __module_param_call(MODULE_PARAM_PREFIX, name,   \
                         ^
>> include/linux/moduleparam.h:429:2: note: in expansion of macro 'module_param_array_named'
     module_param_array_named(name, name, type, nump, perm)
     ^
>> drivers/media/dvb-core/dvbdev.h:55:2: note: in expansion of macro 'module_param_array'
     module_param_array(adapter_nr, short, NULL, 0444); \
     ^
>> drivers/media/pci/ptx/ptx_common.c:145:1: note: in expansion of macro 'DVB_DEFINE_MOD_OPT_ADAPTER_NR'
    DVB_DEFINE_MOD_OPT_ADAPTER_NR(adap_no);
    ^

vim +/KBUILD_MODNAME +13 include/linux/moduleparam.h

^1da177e Linus Torvalds 2005-04-16   7  
^1da177e Linus Torvalds 2005-04-16   8  /* You can override this manually, but generally this should match the
^1da177e Linus Torvalds 2005-04-16   9     module name. */
^1da177e Linus Torvalds 2005-04-16  10  #ifdef MODULE
^1da177e Linus Torvalds 2005-04-16  11  #define MODULE_PARAM_PREFIX /* empty */
^1da177e Linus Torvalds 2005-04-16  12  #else
367cb704 Sam Ravnborg   2006-01-06 @13  #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
^1da177e Linus Torvalds 2005-04-16  14  #endif
^1da177e Linus Torvalds 2005-04-16  15  
730b69d2 Rusty Russell  2008-10-22  16  /* Chosen so that structs with an unsigned long line up. */

:::::: The code at line 13 was first introduced by commit
:::::: 367cb704212cd0c9273ba2b1e62523139210563b kbuild: un-stringnify KBUILD_MODNAME

:::::: TO: Sam Ravnborg <sam@...s.ravnborg.org>
:::::: CC: Sam Ravnborg <sam@...s.ravnborg.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/octet-stream" (52455 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ