drivers/media/usb/dvb-usb/pctv452e.c:1102:1: note: in expansion of macro 'MODULE_LICENSE'

From: kbuild test robot
Date: Sat Mar 10 2018 - 12:53:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cdb06e9d8f520c969676e7d6778cffe5894f079f
commit: 6cdeaed3b1420bd2569891be0c4123ff59628e9e media: dvb_usb_pctv452e: module refcount changes were unbalanced
date: 3 months ago
config: i386-randconfig-sb0-03110134 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 6cdeaed3b1420bd2569891be0c4123ff59628e9e
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

In file included from include/uapi/linux/stddef.h:2:0,
from include/linux/stddef.h:5,
from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/uapi/linux/sysinfo.h:5,
from include/uapi/linux/kernel.h:5,
from include/linux/cache.h:5,
from include/linux/time.h:5,
from include/linux/input.h:11,
from drivers/media/usb/dvb-usb/dvb-usb.h:14,
from drivers/media/usb/dvb-usb/pctv452e.c:17:
include/linux/compiler-gcc.h:191:45: internal compiler error: in function_and_variable_visibility, at ipa.c:995
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler_types.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
>> include/linux/compiler-gcc.h:191:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
>> include/linux/compiler_types.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler-gcc.h:191:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
>> include/linux/moduleparam.h:28:10: note: in expansion of macro '__UNIQUE_ID'
struct __UNIQUE_ID(name) {}
^
>> include/linux/module.h:160:32: note: in expansion of macro '__MODULE_INFO'
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^
>> include/linux/module.h:198:34: note: in expansion of macro 'MODULE_INFO'
#define MODULE_LICENSE(_license) MODULE_INFO(license, _license)
^
>> drivers/media/usb/dvb-usb/pctv452e.c:1102:1: note: in expansion of macro 'MODULE_LICENSE'
MODULE_LICENSE("GPL");
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccMnYshC.out file, please attach this to your bugreport.
--
In file included from include/uapi/linux/stddef.h:2:0,
from include/linux/stddef.h:5,
from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/uapi/linux/sysinfo.h:5,
from include/uapi/linux/kernel.h:5,
from include/linux/cache.h:5,
from include/linux/time.h:5,
from include/linux/input.h:11,
from drivers/media//usb/dvb-usb/dvb-usb.h:14,
from drivers/media//usb/dvb-usb/pctv452e.c:17:
include/linux/compiler-gcc.h:191:45: internal compiler error: in function_and_variable_visibility, at ipa.c:995
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler_types.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
>> include/linux/compiler-gcc.h:191:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
>> include/linux/compiler_types.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler-gcc.h:191:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
>> include/linux/moduleparam.h:28:10: note: in expansion of macro '__UNIQUE_ID'
struct __UNIQUE_ID(name) {}
^
>> include/linux/module.h:160:32: note: in expansion of macro '__MODULE_INFO'
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^
>> include/linux/module.h:198:34: note: in expansion of macro 'MODULE_INFO'
#define MODULE_LICENSE(_license) MODULE_INFO(license, _license)
^
drivers/media//usb/dvb-usb/pctv452e.c:1102:1: note: in expansion of macro 'MODULE_LICENSE'
MODULE_LICENSE("GPL");
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccOW7LvF.out file, please attach this to your bugreport.

vim +/MODULE_LICENSE +1102 drivers/media/usb/dvb-usb/pctv452e.c

4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 1097
4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 1098 MODULE_AUTHOR("Dominik Kuhlen <dkuhlen@xxxxxxx>");
4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 1099 MODULE_AUTHOR("Andre Weidemann <Andre.Weidemann@xxxxxx>");
4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 1100 MODULE_AUTHOR("Michael H. Schimek <mschimek@xxxxxx>");
4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 1101 MODULE_DESCRIPTION("Pinnacle PCTV HDTV USB DVB / TT connect S2-3600 Driver");
4e2c53fd drivers/media/dvb/dvb-usb/pctv452e.c Igor M. Liplianin 2011-09-23 @1102 MODULE_LICENSE("GPL");

:::::: The code at line 1102 was first introduced by commit
:::::: 4e2c53fde651be6225d9f940c02b2eabc2f9591c [media] dvb: Add support for pctv452e

:::::: TO: Igor M. Liplianin <liplianin@xxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip