linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 12268/12761] include/linux/ratelimit.h:61:3: error: 'DRIVER_NAME' undeclared
@ 2016-08-01 12:53 kbuild test robot
  2016-08-01 16:39 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-08-01 12:53 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2041 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 41192 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-01 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 12:53 [linux-next:master 12268/12761] include/linux/ratelimit.h:61:3: error: 'DRIVER_NAME' undeclared kbuild test robot
2016-08-01 16:39 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox