[linux-next:master 12268/12761] include/linux/ratelimit.h:61:3: error: 'DRIVER_NAME' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c24c1308a5b274bbd90db927cb18efddc95340c7
commit: f207be0388d86d4ed049fbbec2650a2688b5b0f7 [12268/12761] ratelimit: extend to print suppressed messages on release
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
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 f207be0388d86d4ed049fbbec2650a2688b5b0f7
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   In file included from include/linux/device.h:27:0,
                    from include/linux/i2c.h:30,
                    from include/uapi/linux/fb.h:5,
                    from include/linux/fb.h:5,
                    from drivers/video/fbdev/bfin_adv7393fb.c:23:
   include/linux/ratelimit.h: In function 'ratelimit_state_exit':
>> include/linux/ratelimit.h:61:3: error: 'DRIVER_NAME' undeclared (first use in this function)
   include/linux/ratelimit.h:61:3: note: each undeclared identifier is reported only once for each function it appears in
>> include/linux/ratelimit.h:61:3: error: expected ')' before string constant
   drivers/video/fbdev/bfin_adv7393fb.c: At top level:
   drivers/video/fbdev/bfin_adv7393fb.c:323:12: warning: 'proc_output' defined but not used [-Wunused-function]

vim +/DRIVER_NAME +61 include/linux/ratelimit.h

    55	static inline void ratelimit_state_exit(struct ratelimit_state *rs)
    56	{
    57		if (!(rs->flags & RATELIMIT_MSG_ON_RELEASE))
    58			return;
    59	
    60		if (rs->missed) {
  > 61			pr_warn("%s: %d output lines suppressed due to ratelimiting\n",
    62				current->comm, rs->missed);
    63			rs->missed = 0;
    64		}

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]