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] [day] [month] [year] [list]
Message-ID: <201611170408.eG29z6GX%fengguang.wu@intel.com>
Date:   Thu, 17 Nov 2016 04:12:19 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Manuel Schölling <manuel.schoelling@....de>
Cc:     kbuild-all@...org, plagnioj@...osoft.com, tomi.valkeinen@...com,
        manuel.schoelling@....de, jslaby@...e.cz,
        gregkh@...uxfoundation.org, linux-fbdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, andrey_utkin@...tmail.com
Subject: Re: [PATCH v4 1/2] console: Move scrollback data into its own struct

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@...il.com>
:::::: CC: Linus Torvalds <torvalds@...osdl.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/gzip" (29872 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ