linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH v4 1/2] console: Move scrollback data into its own struct
Date: Wed, 16 Nov 2016 20:12:19 +0000	[thread overview]
Message-ID: <201611170408.eG29z6GX%fengguang.wu@intel.com> (raw)
In-Reply-To: <1479318006-22023-1-git-send-email-manuel.schoelling@gmx.de>

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

Hi Manuel,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc5 next-20161116]
[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/Manuel-Sch-lling/console-Move-scrollback-data-into-its-own-struct/20161117-024343
config: x86_64-randconfig-ne0-11170334 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/list.h:4,
                    from include/linux/module.h:9,
                    from drivers/video/console/vgacon.c:36:
   drivers/video/console/vgacon.c: In function 'vgacon_scrolldelta':
   drivers/video/console/vgacon.c:279:14: error: 'vgacon_scrollback_cnt' undeclared (first use in this function)
     if (start > vgacon_scrollback_cnt)
                 ^
   include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> drivers/video/console/vgacon.c:279:2: note: in expansion of macro 'if'
     if (start > vgacon_scrollback_cnt)
     ^~
   drivers/video/console/vgacon.c:279:14: note: each undeclared identifier is reported only once for each function it appears in
     if (start > vgacon_scrollback_cnt)
                 ^
   include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> drivers/video/console/vgacon.c:279:2: note: in expansion of macro 'if'
     if (start > vgacon_scrollback_cnt)
     ^~

vim +/if +279 drivers/video/console/vgacon.c

adc80b064 Manuel Schölling   2016-11-16  263  	if (!vgacon_scrollback.data)
97293de97 Jiri Slaby         2016-06-23  264  		return;
15bdab959 Antonino A. Daplas 2006-03-27  265  
adc80b064 Manuel Schölling   2016-11-16  266  	if (!vgacon_scrollback.save) {
15bdab959 Antonino A. Daplas 2006-03-27  267  		vgacon_cursor(c, CM_ERASE);
15bdab959 Antonino A. Daplas 2006-03-27  268  		vgacon_save_screen(c);
adc80b064 Manuel Schölling   2016-11-16  269  		vgacon_scrollback.save = 1;
15bdab959 Antonino A. Daplas 2006-03-27  270  	}
15bdab959 Antonino A. Daplas 2006-03-27  271  
adc80b064 Manuel Schölling   2016-11-16  272  	vgacon_scrollback.restore = 0;
adc80b064 Manuel Schölling   2016-11-16  273  	start = vgacon_scrollback.cur + lines;
15bdab959 Antonino A. Daplas 2006-03-27  274  	end = start + abs(lines);
15bdab959 Antonino A. Daplas 2006-03-27  275  
15bdab959 Antonino A. Daplas 2006-03-27  276  	if (start < 0)
15bdab959 Antonino A. Daplas 2006-03-27  277  		start = 0;
15bdab959 Antonino A. Daplas 2006-03-27  278  
15bdab959 Antonino A. Daplas 2006-03-27 @279  	if (start > vgacon_scrollback_cnt)
15bdab959 Antonino A. Daplas 2006-03-27  280  		start = vgacon_scrollback_cnt;
15bdab959 Antonino A. Daplas 2006-03-27  281  
15bdab959 Antonino A. Daplas 2006-03-27  282  	if (end < 0)
15bdab959 Antonino A. Daplas 2006-03-27  283  		end = 0;
15bdab959 Antonino A. Daplas 2006-03-27  284  
15bdab959 Antonino A. Daplas 2006-03-27  285  	if (end > vgacon_scrollback_cnt)
15bdab959 Antonino A. Daplas 2006-03-27  286  		end = vgacon_scrollback_cnt;
15bdab959 Antonino A. Daplas 2006-03-27  287  

:::::: The code at line 279 was first introduced by commit
:::::: 15bdab959c9bb909c0317480dd9b35748a8f7887 [PATCH] vgacon: Add support for soft scrollback

:::::: TO: Antonino A. Daplas <adaplas@gmail.com>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29872 bytes --]

      parent reply	other threads:[~2016-11-16 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1479317933-21849-3-git-send-email-manuel.schoelling@gmx.de>
2016-11-16 17:40 ` [PATCH v4 1/2] console: Move scrollback data into its own struct Manuel Schölling
2016-11-16 17:40   ` [PATCH v4 2/2] console: Add persistent scrollback buffers for all VGA consoles Manuel Schölling
2016-11-16 19:38   ` [PATCH v4 1/2] console: Move scrollback data into its own struct kbuild test robot
2016-11-16 20:12   ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201611170408.eG29z6GX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=linux-fbdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).